Dependencies:
struts servlet log4j plugincompanion log4j junit... I use a UserContainer to set login, roles and user variables. The RoleRequestProcessor tests the user roles against your struts defined roles... simple. I use it in order to have a simple role restriction on my actions... and in order to have a servlet container independent solution. Hope it helps, Pedro Salgado On 30/12/2003 17:01, "Kelly Goedert" <[EMAIL PROTECTED]> wrote: > If you can send it'll appreciate it. > > Pedro Salgado wrote: > >> On 30/12/2003 11:22, "Kelly Goedert" <[EMAIL PROTECTED]> wrote: >> >> >> >>> Can anyone give me an example on how to use the RequestProcessor? >>> >>> I want to use the RequestProcessor to check on action roles. Do I have >>> to subclass it? Or I can use it as it is? >>> To use roles to I have to configure anything in the container too? Or >>> just setting the roles parameter and using the RequestProcessor, will >>> allow mw to check the roles that the user might have to access that action? >>> >>> >> >> I made a framework for this purpose. If you want it I can send you the >> source so you can reuse in any way you like. >> >> Pedro Salgado >> >> >> >>> Thanks >>> >>> >>> --------------------------------------------------------------------- >>> 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] >> >> >> > > > > --------------------------------------------------------------------- > 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]