auth-method

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 >


Java servlet programming
Java Servlet Programming (Java Series)
ISBN: 0596000405
EAN: 2147483647
Year: 2000
Pages: 223

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net