wood burning stoves
The moose likes Servlets and the fly likes Servlet Authentication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet Authentication" Watch "Servlet Authentication" New topic

Servlet Authentication

NarendraMohan Prasad

Joined: Oct 31, 2004
Posts: 4
I would like to know the types of authentication in java servlets and what are these?
for this thanking
Narendra Mohan
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
you can get a nice book on servlet & JSP from theserverside.com. it is for free.

haitham raik

Joined: Aug 08, 2004
Posts: 17
The Authentication Types are:
1. BASIC Authentication.
2. DIGEST Authentication.
3. CLIENT-CERT Authentication.
4. FORM Authentication.

the BASIC Authentication features are:
1. easy to use.
2. it is supported by all of the Browsers.
the disadvantages of BASIC Authentication are:
1. not scure becaue the password transfered in clear text (not encrypted)
2. you can not customize the look and feel for this method.

the DIGEST Authentication features are:
1. it is similar to the BASIC Authentication but the password transfered in encrypted mode.
the disadvantages:
1. it is not supported by all the Browsers.
2. it is not supported by all the Web Containers.

the CLIENT-CERT features:
1. it is the most secure method.
the disadvantages
1. it is expensive to implement becuase it needs a certificate from CA (e.g., Verisign)

the FORM based features:
1. easy to use
2. the look and feel can be customized.
the disadvantages
1. it is not secure.
2. need the session to be enabled.

Haitham Raik<br />SCJP 1.4 SCWCD 1.4 SCBCD 1.3 SCJA 1.0
I agree. Here's the link: http://aspose.com/file-tools
subject: Servlet Authentication
It's not a secret anymore!