cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakob Praher <jpra...@yahoo.de>
Subject Re: howto add custom roles
Date Sun, 22 Dec 2002 10:17:24 GMT
Am Sam, 2002-12-21 um 18.17 schrieb Martin Holz:
> 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
> 
thanks for the info.

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


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


Mime
View raw message