My application does a form based login on tomcat. whenever a protected page is called, if not logged in - login page pops up.
After authentication it goes to the page they wanted to go.
I want to know if there is anyway i can after authentication redirect to a page intermediate to the destination page and do something else?
[tt]
View protected page -- not logged--> Login page
| |
| |
logged in form based login
| (j_security_check)
| |
| |
| V
| mycustom.jsp
| |
| |
| redirect
|_________________ ____________|
|
V
dest.jsp
[/tt]
Something like this.
After authentication it goes to the page they wanted to go.
I want to know if there is anyway i can after authentication redirect to a page intermediate to the destination page and do something else?
[tt]
View protected page -- not logged--> Login page
| |
| |
logged in form based login
| (j_security_check)
| |
| |
| V
| mycustom.jsp
| |
| |
| redirect
|_________________ ____________|
|
V
dest.jsp
[/tt]
Something like this.