On Jan 30, 2006, at 10:30 AM, Tony Haidamous wrote:
How to grant the role to the user?
It is application server and data source dependant. There is
configuration to be done in web.xml. Check out the servlet
specification or just goole:
web descriptor j2ee security role
or
web.xml secur
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 requ
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 agai
return true;
}
}
}
return false;
}
}
Hope this helps
Alan
-Original Message-
From: Tony Haidamous [mailto:[EMAIL PROTECTED]
Sent: 30 January 2006 10:16
To: Struts Users Mailing List
Subject: Roles in struts
I noticed that action mapping can contain a roles parameter. Any idea
I noticed that action mapping can contain a roles parameter. Any idea how
and where to define those roles & how to set roles for user when
authenticated. Any sample code I can find on this matter?
Thanks
Best Regards,
Tony HAIDAMOUS
Computer Engineer
CM
5 matches
Mail list logo