Name

<login-config>

Synopsis

<!ELEMENT login-config (auth-method?, realm-name?, form-login-config?)>

Description

The <login-config> element is used to configure the authentication method and the realm name that should be used for the application, as well as the attributes for form-based login, if it is used.

<login-config>
    <auth-method>BASIC</auth-method>
    <realm-name>Default</realm-name>
</login-config>

Get Java Servlet Programming, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.