站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 server API Documentation 英文版文档

SecurityRoleMetaData (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档


org.jboss.metadata
Class SecurityRoleMetaData

java.lang.Object
  extended byorg.jboss.metadata.MetaData
      extended byorg.jboss.metadata.SecurityRoleMetaData
All Implemented Interfaces:
Cloneable, XmlLoadable

public class SecurityRoleMetaData
extends MetaData

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.2 $
Author:
Thomas.Diesler@jboss.org

Field Summary
 
Fields inherited from class org.jboss.metadata.MetaData
log, TX_MANDATORY, TX_NEVER, TX_NOT_SUPPORTED, TX_REQUIRED, TX_REQUIRES_NEW, TX_SUPPORTS, TX_UNKNOWN
 
Constructor Summary
SecurityRoleMetaData(String roleName)
           
 
Method Summary
 void addPrincipalName(String principalName)
           
 void addPrincipalNames(Set principalNames)
           
 Set getPrincipals()
           
 String getRoleName()
           
 
Methods inherited from class org.jboss.metadata.MetaData
clone, getChildrenByTagName, getElementAttribute, getElementContent, getElementContent, getFirstElementContent, getOptionalChild, getOptionalChild, getOptionalChildBooleanContent, getOptionalChildBooleanContent, getOptionalChildContent, getOptionalChildContent, getUniqueChild, getUniqueChildContent, importEjbJarXml, importJbossXml, importXml, jdk13Enabled
 
Methods inherited from class java.lang.Object
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.