If I don't miss my guess, it sounds like you want to do what declarative
security would do for you.

Any protected page gets redirected to a login form.
After successfully logging in, the user is redirected to where he wanted
to go in the first place.

This isn't struts specific, but it does work with struts.

If you want to provide your own login form on top of this (besides the
one people get redirected to), you might want to look at SecurityFilter
(which is what I and a lot of others do with Struts) 

http://securityfilter.sourceforge.net/

> -----Original Message-----
> From: Harjot Narula [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, May 18, 2004 3:10 AM
> To: Struts Users Mailing List
> Subject: Session Timeout
> 
> 
> Hi
> 
> I am using struts framework in an application.
> When any JSP times out, we cache the parameters and the request and 
> then forward the request to login page. After authentication, 
> the cached request 
> and parameters are used and the control is redirected to the 
> original request. We are using websphere as App Server. We 
> have also extended the Struts Request Processor 
> to implement some code in every request.
> 
> Now, I want to know if this can be done using struts, I do 
> not want to write any code for this ???
>  
> Harjot
> 
> ____________________________________________ 
> Harjot Narula 
> Induslogic Inc.276, Piccadily House, 3rd FloorCapt. Gaur 
> Marg, SrinivaspuriNew Delhi -110065, IndiaPhone No. - +91 
> -9818072345 (M)
>                   +91-11-26328102 
> (o)[EMAIL PROTECTED]
> ____________ 
> 



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

Reply via email to