Meaningless Drivel is fun!*
The moose likes Spring and the fly likes If already logged in redirect to home page for login request Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "If already logged in redirect to home page for login request" Watch "If already logged in redirect to home page for login request" New topic
Author

If already logged in redirect to home page for login request

Vikas Kapoor
Ranch Hand

Joined: Aug 16, 2007
Posts: 1374
I want to incorporate behavior described below in my app.

- When I type gmail.com if I am already logged in it takes me directly to inbox else login.

So how does that work? I guess cookies. but main question is how it can be done in Spring Security?

Thank you.

Cross Post : http://forum.springsource.org/showthread.php?t=94150
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: If already logged in redirect to home page for login request