Class TxAwareLDAPUserModelDelegate
java.lang.Object
org.keycloak.models.utils.UserModelDelegate
org.keycloak.storage.ldap.mappers.TxAwareLDAPUserModelDelegate
- All Implemented Interfaces:
RoleMapperModel
,UserModel
- Direct Known Subclasses:
MSADUserAccountControlStorageMapper.MSADUserModelDelegate
- Author:
- Marek Posolda
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.models.UserModel
UserModel.RequiredAction, UserModel.SearchableFields, UserModel.UserRemovedEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected LDAPObject
static final org.jboss.logging.Logger
protected LDAPStorageProvider
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
ConstructorDescriptionTxAwareLDAPUserModelDelegate
(UserModel delegate, LDAPStorageProvider provider, LDAPObject ldapUser) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
markUpdatedAttributeInTransaction
(String modelAttributeName) protected void
markUpdatedRequiredActionInTransaction
(String requiredActionName) Methods inherited from class org.keycloak.models.utils.UserModelDelegate
addRequiredAction, addRequiredAction, credentialManager, deleteRoleMapping, equals, getAttributes, getAttributeStream, getClientRoleMappingsStream, getCreatedTimestamp, getDelegate, getEmail, getFederationLink, getFirstAttribute, getFirstName, getGroupsStream, getId, getLastName, getRealmRoleMappingsStream, getRequiredActionsStream, getRoleMappingsStream, getServiceAccountClientLink, getUsername, grantRole, hashCode, hasRole, isEmailVerified, isEnabled, isMemberOf, joinGroup, leaveGroup, removeAttribute, removeRequiredAction, removeRequiredAction, setAttribute, setCreatedTimestamp, setEmail, setEmailVerified, setEnabled, 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
-
Field Details
-
logger
public static final org.jboss.logging.Logger logger -
provider
-
ldapUser
-
-
Constructor Details
-
TxAwareLDAPUserModelDelegate
public TxAwareLDAPUserModelDelegate(UserModel delegate, LDAPStorageProvider provider, LDAPObject ldapUser)
-
-
Method Details
-
ensureTransactionStarted
protected void ensureTransactionStarted() -
markUpdatedAttributeInTransaction
-
markUpdatedRequiredActionInTransaction
-