This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Spring and the fly likes Spring Security Logout not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring Security Logout not working" Watch "Spring Security Logout not working" New topic
Author

Spring Security Logout not working

Kiran Gaddam
Ranch Hand

Joined: Aug 05, 2011
Posts: 32
Hi All,

I am having an issue with spring security logout.

IN JSPX I had written...



and in application-security.xml



when I click on logout link it is coming to login page. but when I click on back button and click some other link in the page... it is navigating to that controller and JSPX..

Where am I wrong..?

Please help..
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1648
    
    7

Check your interept-url's the only pages you have protected are /admin and /landingpage but not anything underneath that. Is that what you intended?


[How To Ask Questions][Read before you PM me]
 
Don't get me started about those stupid light bulbs.
 
subject: Spring Security Logout not working
 
Similar Threads
Spring Security: Authorization with out Authentication
Problem with <security:intercept-url pattern=...>
“j_spring_security_check” not found after configuring spring security without http namespace
Concurrent Authentication problem with intercept-url
Can we have multiple login forms in spring security?