org.jboss.security
Class SecurityRoleMetaData

java.lang.Object
  extended by 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

Constructor Summary
SecurityRoleMetaData(String roleName)
           
 
Method Summary
 void addPrincipalName(String principalName)
           
 void addPrincipalNames(Set principalNames)
           
 Set getPrincipals()
           
 String getRoleName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityRoleMetaData

public SecurityRoleMetaData(String roleName)
Method Detail

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.