struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Menard <m...@mjm.net>
Subject Re: [S2][interceptors]Inserted my own interceptor => no more params value
Date Mon, 23 Apr 2007 15:07:36 GMT
On 4/23/07 2:36 AM, "MLENEVEUT@abusinessware.com"
<MLENEVEUT@abusinessware.com> wrote:

> Hi all,
> 
> I try to insert my "AuthentificatedInterceptor" in the stack, but now
> nothing works.

Hi Michaƫl,

I just did this last week. I didn't use a LoginAction though. I did all the
work in the interceptor, with a backing service bean.
(http://www.vitarara.org/cms/struts_2_cookbook/creating_a_login_interceptor)

I found it easier to just do the login attempt in the interceptor rather
than having to sometimes pass through the interceptor if an attempt was
occurring, and other times passing it through if they are logged in.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message