![]() |
![]() |
||||
Used in a <form-login-config> element to specify the relative URL for the login page.
When the protected resource is accessed by an unauthenticated user, the user is redirected to this page to log in.
The login page can be designed by the developer, and must contain a <form> with:
1. Request by unauthorized user: /private/somepage.jsp?arg1=abc 2. Server asks user to login, by sending them to the login page 3. The user logs in successfully 4. The user is redirected to: /private/somepage.jsp?arg1=abc