![]() |
![]() |
||||
At line 10 changed 1 line. |
* An action attribute set to the page the user wants to access (eg: the members entry page of your application) |
* The form __action__ attribute must be set to ''j_security_check'' |
At line 13 added 9 lines. |
!What happens to URL parameters when a protected resource is accessed? |
Any request parameters sent to the protected resource are preserved, and sent to the resource after successful login. For example: |
{{{ |
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 |
}}} |