Class MSADUserAccountControlStorageMapper.MSADUserModelDelegate
- java.lang.Object
-
- org.keycloak.models.utils.UserModelDelegate
-
- org.keycloak.storage.ldap.mappers.TxAwareLDAPUserModelDelegate
-
- org.keycloak.storage.ldap.mappers.msad.MSADUserAccountControlStorageMapper.MSADUserModelDelegate
-
- All Implemented Interfaces:
RoleMapperModel,UserModel
- Enclosing class:
- MSADUserAccountControlStorageMapper
public class MSADUserAccountControlStorageMapper.MSADUserModelDelegate extends TxAwareLDAPUserModelDelegate
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.keycloak.models.UserModel
UserModel.RequiredAction, UserModel.SearchableFields, UserModel.Streams, UserModel.UserRemovedEvent
-
-
Field Summary
-
Fields inherited from class org.keycloak.storage.ldap.mappers.TxAwareLDAPUserModelDelegate
logger, provider
-
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
Constructors Constructor Description MSADUserModelDelegate(UserModel delegate, LDAPObject ldapUser)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRequiredAction(String action)voidaddRequiredAction(UserModel.RequiredAction action)protected longgetPwdLastSet()Stream<String>getRequiredActionsStream()Obtains the names of required actions associated with the user.booleanisEnabled()voidremoveRequiredAction(String action)voidremoveRequiredAction(UserModel.RequiredAction action)voidsetEnabled(boolean enabled)-
Methods inherited from class org.keycloak.storage.ldap.mappers.TxAwareLDAPUserModelDelegate
ensureTransactionStarted, markUpdatedAttributeInTransaction, markUpdatedRequiredActionInTransaction
-
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
-
-
-
-
Constructor Detail
-
MSADUserModelDelegate
public MSADUserModelDelegate(UserModel delegate, LDAPObject ldapUser)
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabledin interfaceUserModel- Overrides:
isEnabledin classUserModelDelegate
-
setEnabled
public void setEnabled(boolean enabled)
- Specified by:
setEnabledin interfaceUserModel- Overrides:
setEnabledin classUserModelDelegate
-
addRequiredAction
public void addRequiredAction(UserModel.RequiredAction action)
- Specified by:
addRequiredActionin interfaceUserModel- Overrides:
addRequiredActionin classUserModelDelegate
-
addRequiredAction
public void addRequiredAction(String action)
- Specified by:
addRequiredActionin interfaceUserModel- Overrides:
addRequiredActionin classUserModelDelegate
-
removeRequiredAction
public void removeRequiredAction(UserModel.RequiredAction action)
- Specified by:
removeRequiredActionin interfaceUserModel- Overrides:
removeRequiredActionin classUserModelDelegate
-
removeRequiredAction
public void removeRequiredAction(String action)
- Specified by:
removeRequiredActionin interfaceUserModel- Overrides:
removeRequiredActionin classUserModelDelegate
-
getRequiredActionsStream
public Stream<String> getRequiredActionsStream()
Description copied from interface:UserModelObtains the names of required actions associated with the user.- Specified by:
getRequiredActionsStreamin interfaceUserModel- Overrides:
getRequiredActionsStreamin classUserModelDelegate- Returns:
- a non-null
Streamof required action names.
-
getPwdLastSet
protected long getPwdLastSet()
-
-