Java Servlet Programming (Java Series)

Java Servlet Programming, 2nd Edition > C. Deployment Descriptor DTD Reference > <auth-method>

 
< BACKCONTINUE >
<auth-method>

Synopsis

<!ELEMENT auth-method (#PCDATA)>

Description

The <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>

Last updated on 3/20/2003

Java Servlet Programming, 2nd Edition, © 2001 O'Reilly

< BACKCONTINUE >

Категории