|
JBoss Metadata Common 7.0.4.Final-redhat-1 | |||||||||
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.AbstractMappedMetaData<SecurityRoleMetaData>
org.jboss.metadata.javaee.spec.SecurityRolesMetaData
public class SecurityRolesMetaData
SecurityRolesMetaData.
Constructor Summary | |
---|---|
SecurityRolesMetaData()
Create a new SecurityRolesMetaData. |
Method Summary | |
---|---|
protected void |
addNotification(SecurityRoleMetaData added)
Notification that something was added |
Map<String,Set<String>> |
getPrincipalVersusRolesMap()
|
Set<String> |
getSecurityRoleNamesByPrincipal(String userName)
Get the security role names by principal |
SecurityRolesMetaData |
getSecurityRolesByPrincipal(String userName)
Deprecated. |
void |
rebuildPrincipalVersusRolesMap()
|
protected void |
removeNotification(SecurityRoleMetaData removed)
Notification that something was removed |
Methods inherited from class org.jboss.metadata.javaee.support.AbstractMappedMetaData |
---|
add, addAll, clear, contains, containsAll, containsKey, equals, get, getByName, hashCode, isEmpty, iterator, keySet, remove, removeAll, retainAll, size, toArray, toArray, 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.IdMetaData |
---|
getId, setId |
Constructor Detail |
---|
public SecurityRolesMetaData()
Method Detail |
---|
protected void addNotification(SecurityRoleMetaData added)
AbstractMappedMetaData
addNotification
in class AbstractMappedMetaData<SecurityRoleMetaData>
added
- the thing addedpublic Map<String,Set<String>> getPrincipalVersusRolesMap()
public void rebuildPrincipalVersusRolesMap()
@Deprecated public SecurityRolesMetaData getSecurityRolesByPrincipal(String userName)
userName
- the principal name
IllegalArgumentException
- for a null user namepublic Set<String> getSecurityRoleNamesByPrincipal(String userName)
userName
- the principal name
IllegalArgumentException
- for a null user nameprotected void removeNotification(SecurityRoleMetaData removed)
AbstractMappedMetaData
removeNotification
in class AbstractMappedMetaData<SecurityRoleMetaData>
removed
- the thing removed
|
JBoss Metadata Common 7.0.4.Final-redhat-1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |