|
JBoss Metadata Common 7.0.1.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.metadata.javaee.support.IdMetaDataImpl
org.jboss.metadata.javaee.support.NamedMetaData
org.jboss.metadata.javaee.support.NamedMetaDataWithDescriptions
org.jboss.metadata.javaee.spec.SecurityRoleMetaData
public class SecurityRoleMetaData
SecurityRoleMetaData.
Constructor Summary | |
---|---|
SecurityRoleMetaData()
Create a new SecurityRoleMetaData. |
Method Summary | |
---|---|
Set<String> |
getPrincipals()
Get the principals. |
String |
getRoleName()
Get the roleName. |
boolean |
hasPrincipal(String userName)
Whether this roles has the principal |
void |
setPrincipals(Set<String> principals)
Set the principals. |
void |
setRoleName(String roleName)
Set the roleName. |
Methods inherited from class org.jboss.metadata.javaee.support.NamedMetaDataWithDescriptions |
---|
getDescriptions, setDescriptions |
Methods inherited from class org.jboss.metadata.javaee.support.NamedMetaData |
---|
equals, getKey, getName, hashCode, setName, toString |
Methods inherited from class org.jboss.metadata.javaee.support.IdMetaDataImpl |
---|
clone, getId, setId |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jboss.metadata.javaee.support.MappableMetaData |
---|
getKey |
Constructor Detail |
---|
public SecurityRoleMetaData()
Method Detail |
---|
public String getRoleName()
public void setRoleName(String roleName)
roleName
- the roleName.
IllegalArgumentException
- for a null roleNamepublic Set<String> getPrincipals()
public void setPrincipals(Set<String> principals)
principals
- the principals.
IllegalArgumentException
- for a null principalspublic boolean hasPrincipal(String userName)
userName
- the principal
IllegalArgumentException
- for a null principal
|
JBoss Metadata Common 7.0.1.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |