|
||||||||||
| 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 |
SecurityRoleMetaData |
merge(SecurityRoleMetaData original)
Merge some metadata |
void |
merge(SecurityRoleMetaData override,
SecurityRoleMetaData original)
|
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, merge, setName, toString |
| Methods inherited from class org.jboss.metadata.javaee.support.IdMetaDataImpl |
|---|
clone, getId, merge, merge, 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 principalpublic SecurityRoleMetaData merge(SecurityRoleMetaData original)
MergeableMetaData
merge in interface MergeableMetaData<SecurityRoleMetaData>original - the original
public void merge(SecurityRoleMetaData override,
SecurityRoleMetaData original)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||