GeeCON Prague 2014*
The moose likes Security and the fly likes j_security_check and the last URL (post-login redirection) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » Security
Bookmark "j_security_check and the last URL (post-login redirection)" Watch "j_security_check and the last URL (post-login redirection)" New topic
Author

j_security_check and the last URL (post-login redirection)

Michael Jessop
Greenhorn

Joined: Jul 20, 2011
Posts: 2
I have an interesting issue. I've recently added autosuggest to a search box that is in the header of every page, including our login page.

If you touch the search box and trigger the autosuggest ajax call, then go to log in, j_security_check remembers the autosuggest URL as the last visited, and upon login completion you are given a JSON response.

My question is: can I add a filter of some sort, or some other configuration parameter to tell the container to ignore certain URLs?

Thanks, in advance...

Mike
Michael Jessop
Greenhorn

Joined: Jul 20, 2011
Posts: 2
This is JBOSS 4.x, btw...

[edit]

I am hoping for a solution OTHER than creating my own login action...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: j_security_check and the last URL (post-login redirection)