Hi,
I have a question about filters.
In the javadoc for the ShiroFilter class, it shows how to redirect all
requests to urls under "/account" to the built-in "authc" filter. I've
got that working in the "webapp" example, and I've changed the login.jsp
to invoke my servlet that does the authentication.

But now, of couse, I want to pass the user on to the page he was trying
to get to (e.g. /account/index.jsp). Is there a way to do that? Perhaps
a way in the filter configuration text that says "redirect all
/account/** requests to login.jsp, and set the hidden form field called
'nextPage' to the specific URL that the user's trying to get to" or
something like that?

Thanks,
Andy

Reply via email to