What are different Authentication options available in Servlets.- There are four ways of Authentication options available in servlets.
1. HTTP basic authentication:
- In this, server uses the username and password provided by the client and these credentials are transmitted using simple base64 encoding.
2. HTTP digest authentication:
- This option is same the basic authentication except the password is encrypted and transmitted using SHA or MD5.
3. HTTPS client authentication:
- This options is based on HTTP over SSL.
4. Form-based authentication:
- Form-based authentication uses login page to collect username and password.
|