Help: Which servers support HTTP Digest Authentication?
In my security chapter, I am describing HTTP Digest Authentication (please correct me if I'm wrong on any of this).
This (HTTP Digest) authentication mechanism identifies a user based on a username and password, and the client transmits the password in an encrypted form such as SHA or MD5. HTTP 1.1-enabled browsers are required to support it, at least according to this page. According to the Servlet 2.4 spec, it is not currently in widespread use, and therefore Servlet containers are not required to support it.
Now for the part I need help on. Which of the following servers support HTTP Digest? Tomcat, JBoss, Resin, Orion, WebLogic, WebSphere and Sun ONE. To test this, in your web.xml
you would configure your <auth-method> to be DIGEST:
<security-constraint> <web-resource-collection> <web-resource-name>My Application</web-resource-name> <url-pattern>/*</url-pattern> </web-resource-collection> <auth-constraint> <role-name>*</role-name> </auth-constraint> </security-constraint> <login-config> <auth-method>DIGEST</auth-method> <realm-name>My Test Application</realm-name> </login-config>
According to this implementing WebSphere Security article from December 2002, WebSphere 4 doesn't support it. I wonder if version 5 does? Thanks for any assistance you can offer!
Update: I was missing a required element (<web-resource-name>) in the XML above, and I added <realm-name> for display on the dialog box. Tomcat (v4.1.18) supports DIGEST just fine. The dialogs do change between the types though - the differences are below.
HTTP Basic Dialog
HTTP Digest Dialog
Posted by Leonya on February 13, 2003 at 03:01 PM MST #
Posted by Matt on February 13, 2003 at 03:14 PM MST #
Posted by Leonya on February 13, 2003 at 04:03 PM MST #
Posted by Greg Klebus on February 14, 2003 at 02:00 PM MST #