cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Holz <h...@fiz-chemie.de>
Subject Re: howto add custom roles
Date Sat, 21 Dec 2002 17:17:31 GMT
Jakob Praher <jpraher@yahoo.de> writes:

> Am Sam, 2002-12-21 um 11.56 schrieb Jakob Praher:
> > hi,
> > 
> > the default RoleConfiguration ist in
> > cocoon.jar!org/apache/cocoon/cocoon.roles.
> 
> > is there any other way to add role shorthands?
> > 
> my fault. custom roles are inserted by the xconf ant task.
> 
> > where for instance is the authentication-manager role declared (can't
> > find id in the cocoon.roles)?
> > 
> ok. they are under
> src/blocks/authentication-fw/conf/authentication.xroles
 
If you need custom roles and don't want to mess around with 
cocoon.roles, you could also define them in a local
role file. Add to your cocoon.xconf a attribute
user-roles.

<cocoon version="2.0" user-roles="/WEB-INF/vsengine.roles" >
...
The user roles file as the same format as cocoon.roles


Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message