This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring Security Logout not working" Watch "Spring Security Logout not working" New topic

Spring Security Logout not working

Kiran Gaddam
Ranch Hand

Joined: Aug 05, 2011
Posts: 35
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

Joined: Mar 07, 2010
Posts: 1682

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]
I agree. Here's the link:
subject: Spring Security Logout not working
It's not a secret anymore!