j_security_check and the last URL (post-login redirection)
posted 4 years ago
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?