In Spring MVC, if I have multiple controllers for multiple screens, where is a good place to check if the user is logged in?
I was considering a singleton bean handled by Spring IoC which have eiter "null" or a UserSecurity object of some sort.
Discussions
Web tier: servlets, JSP, Web frameworks: Spring MVC: Good place to check for user logged in status?
-
Spring MVC: Good place to check for user logged in status? (2 messages)
- Posted by: Ben Knight
- Posted on: July 25 2005 20:53 EDT
Threaded Messages (2)
- Spring MVC: Good place to check for user logged in status? by Cliff Liang on July 26 2005 22:11 EDT
- Spring MVC: Good place to check for user logged in status? by Ben Knight on July 27 2005 09:39 EDT
-
Spring MVC: Good place to check for user logged in status?[ Go to top ]
- Posted by: Cliff Liang
- Posted on: July 26 2005 22:11 EDT
- in response to Ben Knight
I think interceptor is a good place. -
Spring MVC: Good place to check for user logged in status?[ Go to top ]
- Posted by: Ben Knight
- Posted on: July 27 2005 09:39 EDT
- in response to Cliff Liang
Thank you; I was just reading about Interceptors yesterday and would agree with you.