This is a very appropriate use for interceptors.
You might also want to look at Spring Security, which does this and a lot
more without too much configuration pain.
jk
On Sat, Jun 27, 2009 at 12:25 PM, Robin Mannering wrote:
> Hello,
>
> Struts 2.1.6
>
> I wish to ensure a user is logged into an
Robin Mannering wrote:
I wish to ensure a user is logged into an application before allowing
him/her to execute certain tasks.
Would using an Interceptor be a good way to go?
Yep.
Dave
-
To unsubscribe, e-mail: user-unsubsc
Hello,
Struts 2.1.6
I wish to ensure a user is logged into an application before allowing
him/her to execute certain tasks.
Would using an Interceptor be a good way to go?
My idea is to retrieve session data in the intercept() method of the
interceptor and verify a certain attribute is held
3 matches
Mail list logo