So, let's say I have a page that is protected by authorization in /admin/admin.jsp.
And when linked to that page, someone attempts to access the url /admin/admin.jsp?foo=bar
Because it is a protected page, it will redirect to my login.jsp page for authorization, but let's say that my login page wants access to that foo=bar because it is going to use that automatically log-in.
How can I get access to the parameters for the resoruce that is being attempted to be accessed from my login page? Is there some hook to the Servlet container for the 'redirect' page for when authentication works?