Different Authentication options available in Servlets

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.
GenericServlet and HTTPServlet
GenericServlet and HTTPServlet - The Constructor HttpServlet() does nothing because this is an abstract class...
Is possible to have a constructor for a servlet?
Yes, it is possible to have a constructor for a servlet. However, it is not practiced usually. The operations with the constructor...
Difference between an Applet and a Servlet
Servlet and Applet - Applets are applications designed to be transmitted over the network and executed by Java compatible web browsers...
Post your comment