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, toStringclone, getId, setIdfinalize, getClass, notify, notifyAll, wait, wait, waitgetId, setIdparallelStream, removeIf, spliterator, streampublic SecurityRolesMetaData()
protected void addNotification(SecurityRoleMetaData added)
AbstractMappedMetaDataaddNotification 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)
AbstractMappedMetaDataremoveNotification in class AbstractMappedMetaData<SecurityRoleMetaData>removed - the thing removedCopyright © 2017 JBoss by Red Hat. All rights reserved.