Re: Simple authentication

2007-08-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Appel, appel wrote: > I need some simple login page for my web. There is only one account, and > I'll probably just hardcode the user/pass in the code. > > Can't figure out how to do it properly with the struts2 framework, been > googling and reading

Simple authentication

2007-08-02 Thread appel
Thank you! -- View this message in context: http://www.nabble.com/Simple-authentication-tf4206203.html#a11964749 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

Re: Simple authentication/authorization with Struts 2 using annotation

2007-07-19 Thread Mahdi Milani Fard
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

Re: Simple authentication/authorization with Struts 2 using annotation

2007-07-19 Thread Viplav Kallepu
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

Simple authentication/authorization with Struts 2 using annotation

2007-07-19 Thread Mahdi Milani Fard
ing 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.na