org.jboss.security
Class SecurityRoleMetaData
java.lang.Object
org.jboss.security.SecurityRoleMetaData
public class SecurityRoleMetaData
- extends Object
The meta data object for the security-role-mapping element.
The security-role-mapping element maps the user principal
to a different principal on the server. It can for example
be used to map a run-as-principal to more than one role.
- Version:
- $Revision: 1.1.2.1 $
- Author:
- Thomas.Diesler@jboss.org
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityRoleMetaData
public SecurityRoleMetaData(String roleName)
addPrincipalName
public void addPrincipalName(String principalName)
addPrincipalNames
public void addPrincipalNames(Set principalNames)
getRoleName
public String getRoleName()
getPrincipals
public Set getPrincipals()
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.