org.jboss.metadata.javaee.spec
public class SecurityRolesMetaData extends AbstractMappedMetaData<SecurityRoleMetaData>
Constructor and Description |
---|
SecurityRolesMetaData()
Create a new SecurityRolesMetaData.
|
Modifier and Type | Method and Description |
---|---|
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
|
add, addAll, clear, contains, containsAll, containsKey, equals, get, getByName, hashCode, isEmpty, iterator, keySet, remove, removeAll, retainAll, size, toArray, toArray, toString
clone, getId, setId
finalize, getClass, notify, notifyAll, wait, wait, wait
getId, setId
public SecurityRolesMetaData()
protected void addNotification(SecurityRoleMetaData added)
AbstractMappedMetaData
addNotification
in class AbstractMappedMetaData<SecurityRoleMetaData>
added
- the thing addedpublic void rebuildPrincipalVersusRolesMap()
@Deprecated public SecurityRolesMetaData getSecurityRolesByPrincipal(String userName)
userName
- the principal nameIllegalArgumentException
- for a null user namepublic Set<String> getSecurityRoleNamesByPrincipal(String userName)
userName
- the principal nameIllegalArgumentException
- for a null user nameprotected void removeNotification(SecurityRoleMetaData removed)
AbstractMappedMetaData
removeNotification
in class AbstractMappedMetaData<SecurityRoleMetaData>
removed
- the thing removedCopyright © 2017 JBoss by Red Hat. All rights reserved.