How to grant the role to the user? Best Regards, ____________________________________________ Tony HAIDAMOUS Computer Engineer CME Offshore S.A.L, Hazmieh - Lebanon www.gotocme.com Phone: + 961 (0) 1 88 66 60 Mobile: + 961 (0) 3 67 05 37 E-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] MSN: [EMAIL PROTECTED]
-----Original Message----- From: Marcelo Morales [mailto:[EMAIL PROTECTED] Sent: Monday, January 30, 2006 4:17 PM To: Struts Users Mailing List Subject: Re: Roles in struts Hello On Jan 30, 2006, at 7:17 AM, Alan Comeau wrote: > You need to subclass the request processor and override the > processRoles > method, which by default does nothing. > That's Wrong. By default (1.2), this method is defined in org.apache.struts.action.RequestProcessor. And checks roles against the HTTPRequest's default isUserInRole method. The default behaviour follows. If the user has at least one authorized role then struts will grant access to the action. Regards Marcelo Morales --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]