Re: Interceptor Use

2009-06-27 Thread Jim Kiley
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

Re: Interceptor Use

2009-06-27 Thread Dave Newton
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

Interceptor Use

2009-06-27 Thread Robin Mannering
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