isMember") on the same action object. If you add the authorization
>> interceptor in the correct place in the interceptor stack, at the time
>> the
>> authorizer method is called, the action bean is populated using the
>> setters.
>> So the au
ting if the current user (saved in session) is
authorized to do the action (with respect to the filled parameters.)
Although it looks like re-inventing the wheel, I think this mechanism is
good enough for simple authentication/authorization.
--
View this message in context:
http://www.nabble.com/Simple-au
bble.com/Simple-authentication-authorization-with-Struts-2-using-annotation-tf4109818.html#a11687101
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
3 matches
Mail list logo