-
May 26th, 2010, 11:49 AM
#1
SecurityContext does not get cleared on server restart
Hi All
When I login in my application and the tomcat server restarts then also the current security context is maintained from the browser. I want to clear the security context as soon as the server shuts down. I thought that spring will be doing this automatically but this is not the case.
Please advise on how to do it.
Thanks
Ritula
-
May 26th, 2010, 02:33 PM
#2
SecurityContext is stored in the user's HttpSession on the server. If your servlet container / app server persists sessions and restores them after restart, it's working as expected.
Peter Mularien | Blog
Author, Spring Security 3 (Book) - Packt Publishing, Available in print and eBook form
SCJP 5, Oracle DBA
Any postings are my own opinion, and should not be attributed to my employer or clients.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules