my dog learned polymorphism
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
Register / Login
JavaRanch » Java Forums » Engineering » Security
Reply 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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: j_security_check and the last URL (post-login redirection)
 
Similar Threads
Dynamically adding autosuggest textbox
j_security_check 'next' page?
AutoSuggest drop down using Ajax
Regarding Google Autosuggest
LoginFilter & j_security_check