Java Servlet Programming, 2nd Edition > C. Deployment Descriptor DTD Reference > <auth-method> |
Synopsis<!ELEMENT auth-method (#PCDATA)> DescriptionThe <auth-method> element is used to configure the authentication mechanism for the web application. As a prerequisite to gaining access to any web resources that are protected by an authorization constraint, a user must have authenticated using the configured mechanism. Legal values for this element are BASIC, DIGEST, FORM, and CLIENT-CERT. <login-config> <auth-method>BASIC</auth-method> <realm-name>Default</realm-name> </login-config>
|