wood burning stoves 2.0*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Spring Security Logout not working