In Spring MVC, if I have multiple controllers for multiple screens, where is a good place to check if the user is logged in?
- Posted by: Ben Knight
- Posted on: July 25 2005 20:53 EDT
I was considering a singleton bean handled by Spring IoC which have eiter "null" or a UserSecurity object of some sort.
- 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
I think interceptor is a good place.
Thank you; I was just reading about Interceptors yesterday and would agree with you.