public class RoleLDAPStorageMapper.LDAPRoleMappingsUserDelegate extends UserModelDelegate
UserModel.RequiredAction, UserModel.UserRemovedEventdelegateEMAIL, FIRST_NAME, GROUPS, INCLUDE_SERVICE_ACCOUNT, LAST_NAME, LOCALE, SEARCH, USERNAME| Constructor and Description |
|---|
LDAPRoleMappingsUserDelegate(RealmModel realm,
UserModel user,
LDAPObject ldapUser) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteRoleMapping(RoleModel role) |
Set<RoleModel> |
getClientRoleMappings(ClientModel client) |
protected Set<RoleModel> |
getLDAPRoleMappingsConverted() |
Set<RoleModel> |
getRealmRoleMappings() |
Set<RoleModel> |
getRoleMappings() |
void |
grantRole(RoleModel role) |
boolean |
hasRole(RoleModel role) |
addRequiredAction, addRequiredAction, equals, getAttribute, getAttributes, getCreatedTimestamp, getDelegate, getEmail, getFederationLink, getFirstAttribute, getFirstName, getGroups, getId, getLastName, getRequiredActions, getServiceAccountClientLink, getUsername, hashCode, isEmailVerified, isEnabled, isMemberOf, joinGroup, leaveGroup, removeAttribute, removeRequiredAction, removeRequiredAction, setAttribute, setCreatedTimestamp, setEmail, setEmailVerified, setEnabled, setFederationLink, setFirstName, setLastName, setServiceAccountClientLink, setSingleAttribute, setUsernameclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetGroups, getGroups, getGroupsCount, getGroupsCountByNameContainingpublic LDAPRoleMappingsUserDelegate(RealmModel realm, UserModel user, LDAPObject ldapUser)
public Set<RoleModel> getRealmRoleMappings()
getRealmRoleMappings in interface RoleMapperModelgetRealmRoleMappings in class UserModelDelegatepublic Set<RoleModel> getClientRoleMappings(ClientModel client)
getClientRoleMappings in interface RoleMapperModelgetClientRoleMappings in class UserModelDelegatepublic boolean hasRole(RoleModel role)
hasRole in interface RoleMapperModelhasRole in class UserModelDelegatepublic void grantRole(RoleModel role)
grantRole in interface RoleMapperModelgrantRole in class UserModelDelegatepublic Set<RoleModel> getRoleMappings()
getRoleMappings in interface RoleMapperModelgetRoleMappings in class UserModelDelegatepublic void deleteRoleMapping(RoleModel role)
deleteRoleMapping in interface RoleMapperModeldeleteRoleMapping in class UserModelDelegateCopyright © 2020 JBoss by Red Hat. All rights reserved.