Metawerx Java Hosting Small Logo

<login-config>

This tag defines the authorisation methods for the application, as well as any attributes required for BASIC or FORM-based authentication.

This is a top-level element, and sits inside the <web-app> element.

Subelements

BASIC Authentication (popup dialog box from browser)

<!-- This application uses BASIC authentication --> 
<login-config> 
    <auth-method>BASIC</auth-method> 
    <realm-name>Editor Login</realm-name> 
</login-config> 

FORM-based Authentication (uses a login page and an error/access-denied page)

<!-- FORM based authentication --> 
<login-config> 
    <auth-method>FORM</auth-method> 
    <form-login-config> 
        <form-login-page>/login.jsp</form-login-page> 
        <form-error-page>/error.jsp</form-error-page> 
    </form-login-config> 
</login-config>

See Also

navigation
metawerx specific
search
Share
tools
help

referring pages

Share