An HttpSession for the user exists before authentication. Store the URL of the last request as a session attribute. After authentication, read the session attribute to determine where to forward or redirect.

As far as I know JAAS doesn't deal with this concept. As was suggested, you could use container-managed security to do it, but then you give up using a Struts-controlled login form.

Erik


Mark Benussi wrote:

I need to store the last request so that if a user requests a page that requires authentication etc it can be processed and then the user can be redirected to the last request. I am going to be integrating with JAAS this week so maybe there is something built in already (Which would make sense).



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to