tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin O'Shea" <app...@dsl.pipex.com>
Subject RE: Using multiple login pages
Date Wed, 05 Oct 2011 22:34:49 GMT
Do you mean the login page as specified in web.xml's <login-config> as below:

<login-config>
        <auth-method>FORM</auth-method>
        <realm-name>Form-Based Authentication Area</realm-name>
        <form-login-config>            
            <form-login-page>/jsp/security/protected/login.jsp</form-login-page>
            <form-error-page>/jsp/security/protected/error.jsp</form-error-page>
        </form-login-config>
    </login-config>

Or a dedicated page calling a servlet of my own for logging in?

-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com] 
Sent: 05 Oct 2011 23 20
To: Tomcat Users List
Subject: RE: Using multiple login pages

> From: Martin O'Shea [mailto:appy74@dsl.pipex.com] 
> Subject: RE: Using multiple login pages

> I wouldn't mind seeing a servlet specified as <form-login-page> if you know of
an example.

Simply set the <url-pattern> of some <servlet-mapping> to that of the login page.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message