Magnus,

Magnus Stenman wrote:

> The page syntax then looks like this:
> <util:ifInRole role="users">
>  The user-only text.
> </util:ifInRole>

This is the exact functionality that I was looking for - Thanks!
Also, is there, or will there be a standard way to implement a "RoleManager"
interface to allow roles to be defined within a database, or some other form? 
Something very similiar to the Orion UserManager interface, except for roles.

Thanks for your help!  Keep up the great work!

Evan Vaala

> You specify a "role" (the part you usually interface with) in
> web.xml/ejb-jar.xml/application.xml with syntax similar to this one:
> <security-role>
>     <role-name>users</role-nam>
>     <description>The users of this site.</description>
> </security-role>
> 
> If no deployment mapping is done this will map to the group with the same
> name (if it exists).
> A deployment mapping is made in the deployment files (orion-application.xml,
> orion-ejb-jar.xml etc) and looks something like this:
> 
> <security-role>
>     <role-name>users</role-name>
>     <group>aGroup</group>
>     <user>someUser</user>
> </security-role>

Reply via email to