当前页面:
在线文档首页 >
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
org.jboss.metadata.MetaData
org.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
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 |
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.