|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.metadata.MetaData
org.jboss.metadata.OldMetaData<SecurityRoleMetaData>
org.jboss.security.SecurityRoleMetaData
@Deprecated public class SecurityRoleMetaData
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.
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 | |
---|---|
protected |
SecurityRoleMetaData(org.jboss.metadata.spi.MetaData metaData)
Deprecated. Create a new SecurityMetaData. |
|
SecurityRoleMetaData(SecurityRoleMetaData delegate)
Deprecated. Create a new SecurityRoleMetaData. |
Method Summary | |
---|---|
void |
addPrincipalName(String principalName)
Deprecated. Add a principal name |
void |
addPrincipalNames(Set principalNames)
Deprecated. Add some principal names |
Set<String> |
getPrincipals()
Deprecated. Get the principals |
String |
getRoleName()
Deprecated. Get the role name |
Methods inherited from class org.jboss.metadata.OldMetaData |
---|
equals, getDelegate, getMetaData, hashCode, importEjbJarXml, importJbossXml, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SecurityRoleMetaData(SecurityRoleMetaData delegate)
delegate
- the delegate
IllegalArgumentException
- for a null delegateprotected SecurityRoleMetaData(org.jboss.metadata.spi.MetaData metaData)
metaData
- the delegate metadata
IllegalArgumentException
- for a null metaData
IllegalStateException
- if the metadata doesn't have an SecurityRolesMetaData
Method Detail |
---|
public String getRoleName()
public Set<String> getPrincipals()
public void addPrincipalName(String principalName)
principalName
- the principal name
UnsupportedOperationException
- alwayspublic void addPrincipalNames(Set principalNames)
principalNames
- the principal names
UnsupportedOperationException
- always
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |