Class MSADLDSUserAccountControlStorageMapper.MSADUserModelDelegate
java.lang.Object
org.keycloak.models.utils.UserModelDelegate
org.keycloak.storage.ldap.mappers.msadlds.MSADLDSUserAccountControlStorageMapper.MSADUserModelDelegate
- All Implemented Interfaces:
RoleMapperModel
,UserModel
- Enclosing class:
- MSADLDSUserAccountControlStorageMapper
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.models.UserModel
UserModel.RequiredAction, UserModel.UserPreRemovedEvent, UserModel.UserRemovedEvent
-
Field Summary
Fields inherited from class org.keycloak.models.utils.UserModelDelegate
delegate
Fields inherited from interface org.keycloak.models.UserModel
COMPARE_BY_USERNAME, DISABLED_REASON, EMAIL, EMAIL_VERIFIED, ENABLED, EXACT, FIRST_NAME, GROUPS, IDP_ALIAS, IDP_USER_ID, INCLUDE_SERVICE_ACCOUNT, LAST_NAME, LOCALE, SEARCH, USERNAME
-
Constructor Summary
ConstructorDescriptionMSADUserModelDelegate
(UserModel delegate, LDAPObject ldapUser, boolean isAlwaysReadEnabledFromLdap) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addRequiredAction
(String action) void
protected long
Obtains the aliases of required actions associated with the user.boolean
void
removeRequiredAction
(String action) void
void
setEnabled
(boolean enabled) Methods inherited from class org.keycloak.models.utils.UserModelDelegate
credentialManager, deleteRoleMapping, equals, getAttributes, getAttributeStream, getClientRoleMappingsStream, getCreatedTimestamp, getDelegate, getEmail, getFederationLink, getFirstAttribute, getFirstName, getGroupsStream, getId, getLastName, getRealmRoleMappingsStream, getRoleMappingsStream, getServiceAccountClientLink, getUsername, grantRole, hashCode, hasRole, isEmailVerified, isMemberOf, joinGroup, leaveGroup, removeAttribute, setAttribute, setCreatedTimestamp, setEmail, setEmailVerified, setFederationLink, setFirstName, setLastName, setServiceAccountClientLink, setSingleAttribute, setUsername
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.models.RoleMapperModel
hasDirectRole
Methods inherited from interface org.keycloak.models.UserModel
getGroupsCount, getGroupsCountByNameContaining, getGroupsStream, isFederated, joinGroup
-
Constructor Details
-
MSADUserModelDelegate
public MSADUserModelDelegate(UserModel delegate, LDAPObject ldapUser, boolean isAlwaysReadEnabledFromLdap)
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfaceUserModel
- Overrides:
isEnabled
in classUserModelDelegate
-
setEnabled
public void setEnabled(boolean enabled) - Specified by:
setEnabled
in interfaceUserModel
- Overrides:
setEnabled
in classUserModelDelegate
-
addRequiredAction
- Specified by:
addRequiredAction
in interfaceUserModel
- Overrides:
addRequiredAction
in classUserModelDelegate
-
addRequiredAction
- Specified by:
addRequiredAction
in interfaceUserModel
- Overrides:
addRequiredAction
in classUserModelDelegate
-
removeRequiredAction
- Specified by:
removeRequiredAction
in interfaceUserModel
- Overrides:
removeRequiredAction
in classUserModelDelegate
-
removeRequiredAction
- Specified by:
removeRequiredAction
in interfaceUserModel
- Overrides:
removeRequiredAction
in classUserModelDelegate
-
getRequiredActionsStream
Description copied from interface:UserModel
Obtains the aliases of required actions associated with the user.- Specified by:
getRequiredActionsStream
in interfaceUserModel
- Overrides:
getRequiredActionsStream
in classUserModelDelegate
- Returns:
- a non-null
Stream
of required action aliases.
-
getPwdLastSet
protected long getPwdLastSet()
-