jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Lenz <cml...@gmx.de>
Subject Re: servletredirector and roles attributes - doesn't add the ones from web.xml
Date Thu, 08 Jan 2004 23:55:08 GMT
Am 08.01.2004 um 15:08 schrieb Matt Raible:
> I have two roles in my application - user and admin.  If I have 
> roles="user,admin" on my <servletredirector> in my <cactifywar> task, 
> everything works as expected.  If I remove them, I expect the ones in 
> my web.xml file to be used - only because the documentation says so:
> roles
> A comma-separated list of role names which will be granted access to 
> the redirector. If this attribute is ommitted, access to the 
> redirector will not be constrained. Unless the roles are already 
> defined in the deployment descriptor, they will be added 
> automatically.
> So maybe the documentation should be changed?

I have not quite understood...

Access to the redirector should be constrained to the roles specified 
in the 'roles' attribute of the redirector element. If the roles are 
not yet defined in the user-provided web.xml, they will be created.

What part of that is not working for you?

Christopher Lenz
/=/ cmlenz at gmx.de

View raw message