public class RoleLDAPStorageMapper.LDAPRoleMappingsUserDelegate extends UserModelDelegate
UserModel.RequiredAction, UserModel.UserRemovedEvent
delegate
DISABLED_REASON, EMAIL, 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, setUsername
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getGroups, getGroups, getGroupsCount, getGroupsCountByNameContaining
public LDAPRoleMappingsUserDelegate(RealmModel realm, UserModel user, LDAPObject ldapUser)
public Set<RoleModel> getRealmRoleMappings()
getRealmRoleMappings
in interface RoleMapperModel
getRealmRoleMappings
in class UserModelDelegate
public Set<RoleModel> getClientRoleMappings(ClientModel client)
getClientRoleMappings
in interface RoleMapperModel
getClientRoleMappings
in class UserModelDelegate
public boolean hasRole(RoleModel role)
hasRole
in interface RoleMapperModel
hasRole
in class UserModelDelegate
public void grantRole(RoleModel role)
grantRole
in interface RoleMapperModel
grantRole
in class UserModelDelegate
public Set<RoleModel> getRoleMappings()
getRoleMappings
in interface RoleMapperModel
getRoleMappings
in class UserModelDelegate
public void deleteRoleMapping(RoleModel role)
deleteRoleMapping
in interface RoleMapperModel
deleteRoleMapping
in class UserModelDelegate
Copyright © 2021 JBoss by Red Hat. All rights reserved.