Uses of Class
org.keycloak.storage.ldap.idm.model.LDAPObject
Package
Description
-
Uses of LDAPObject in org.keycloak.storage.ldap
Modifier and TypeMethodDescriptionstatic LDAPObject
LDAPUtils.addUserToLDAP
(LDAPStorageProvider ldapProvider, RealmModel realm, UserModel user) Method to create a user in the LDAP.static LDAPObject
LDAPUtils.addUserToLDAP
(LDAPStorageProvider ldapProvider, RealmModel realm, UserModel user, Consumer<LDAPObject> consumerOnCreated) Method that creates a user in the LDAP when all the attributes marked as mandatory by the mappers are set.static LDAPObject
LDAPUtils.createLDAPGroup
(LDAPStorageProvider ldapProvider, String groupName, String groupNameAttribute, Collection<String> objectClasses, String parentDn, Map<String, Set<String>> additionalAttributes, String membershipLdapAttribute) LDAPStorageUserManager.getManagedLDAPUser
(String userId) protected LDAPObject
LDAPStorageProvider.loadAndValidateUser
(RealmModel realm, UserModel local) LDAPStorageProvider.loadLDAPUserByDN
(RealmModel realm, LDAPDn dn) LDAPStorageProvider.loadLDAPUserByUsername
(RealmModel realm, String username) LDAPStorageProvider.loadLDAPUserByUuid
(RealmModel realm, String uuid) protected LDAPObject
LDAPStorageProvider.queryByEmail
(RealmModel realm, String email) static LDAPObject
LDAPUtils.updateLDAPGroup
(LDAPStorageProvider ldapProvider, LDAPObject ldapObject) Modifier and TypeMethodDescriptionstatic List<LDAPObject>
LDAPUtils.loadAllLDAPObjects
(LDAPQuery ldapQuery, LDAPStorageProvider ldapProvider) Load all LDAP objects corresponding to given query.Modifier and TypeMethodDescriptionstatic void
LDAPUtils.addMember
(LDAPStorageProvider ldapProvider, MembershipType membershipType, String memberAttrName, String memberChildAttrName, LDAPObject ldapParent, LDAPObject ldapChild) Add ldapChild as member of ldapParent and save ldapParent to LDAP.static void
LDAPUtils.checkUuid
(LDAPObject ldapUser, LDAPConfig config) static void
LDAPUtils.computeAndSetDn
(LDAPConfig config, LDAPObject ldapUser) static void
LDAPUtils.deleteMember
(LDAPStorageProvider ldapProvider, MembershipType membershipType, String memberAttrName, String memberChildAttrName, LDAPObject ldapParent, LDAPObject ldapChild) Remove ldapChild as member of ldapParent and save ldapParent to LDAP.static void
LDAPUtils.fillRangedAttribute
(LDAPStorageProvider ldapProvider, LDAPObject ldapObject, String name) Performs iterative searches over an LDAPObject to return an attribute that is ranged.LDAPUtils.getExistingMemberships
(LDAPStorageProvider ldapProvider, String memberAttrName, LDAPObject ldapRole) Return all existing memberships (values of attribute 'member' ) from the given ldapRole or ldapGroupstatic String
LDAPUtils.getMemberValueOfChildObject
(LDAPObject ldapUser, MembershipType membershipType, String memberChildAttrName) Get value to be used as attribute 'member' or 'memberUid' in some parent ldapObjectstatic String
LDAPUtils.getUsername
(LDAPObject ldapUser, LDAPConfig config) protected UserModel
LDAPStorageProvider.importUserFromLDAP
(KeycloakSession session, RealmModel realm, LDAPObject ldapUser) protected UserModel
LDAPStorageProvider.importUserFromLDAP
(KeycloakSession session, RealmModel realm, LDAPObject ldapUser, boolean forcedImport) protected UserModel
LDAPStorageProvider.proxy
(RealmModel realm, UserModel local, LDAPObject ldapObject, boolean newUser) void
LDAPStorageUserManager.setManagedProxiedUser
(UserModel proxiedUser, LDAPObject ldapObject) static LDAPObject
LDAPUtils.updateLDAPGroup
(LDAPStorageProvider ldapProvider, LDAPObject ldapObject) Modifier and TypeMethodDescriptionstatic LDAPObject
LDAPUtils.addUserToLDAP
(LDAPStorageProvider ldapProvider, RealmModel realm, UserModel user, Consumer<LDAPObject> consumerOnCreated) Method that creates a user in the LDAP when all the attributes marked as mandatory by the mappers are set.protected SynchronizationResult
LDAPStorageProviderFactory.importLdapUsers
(KeycloakSessionFactory sessionFactory, String realmId, ComponentModel fedModel, List<LDAPObject> ldapUsers) -
Uses of LDAPObject in org.keycloak.storage.ldap.idm.model
Modifier and TypeMethodDescriptionvoid
LDAPObject.populateRangedAttribute
(LDAPObject obj, String name) Modifier and TypeMethodDescriptionvoid
LDAPObject.executeOnMandatoryAttributesComplete
(Set<String> mandatoryAttributeNames, Consumer<LDAPObject> consumer) -
Uses of LDAPObject in org.keycloak.storage.ldap.idm.query.internal
-
Uses of LDAPObject in org.keycloak.storage.ldap.idm.store
Modifier and TypeMethodDescriptionvoid
IdentityStore.add
(LDAPObject ldapObject) Persists the specified IdentityTypevoid
IdentityStore.remove
(LDAPObject ldapObject) Removes the specified IdentityTypevoid
IdentityStore.update
(LDAPObject ldapObject) Updates the specified IdentityTypevoid
IdentityStore.updatePassword
(LDAPObject user, String password, LDAPOperationDecorator passwordUpdateDecorator) Updates the specified credential value.void
IdentityStore.validatePassword
(LDAPObject user, String password) Validates the specified credentials. -
Uses of LDAPObject in org.keycloak.storage.ldap.idm.store.ldap
Modifier and TypeMethodDescriptionvoid
LDAPIdentityStore.add
(LDAPObject ldapObject) protected void
LDAPIdentityStore.checkRename
(LDAPObject ldapObject) protected BasicAttributes
LDAPIdentityStore.extractAttributesForSaving
(LDAPObject ldapObject, boolean isCreate) void
LDAPIdentityStore.remove
(LDAPObject ldapObject) void
LDAPIdentityStore.update
(LDAPObject ldapObject) void
LDAPIdentityStore.updatePassword
(LDAPObject user, String password, LDAPOperationDecorator passwordUpdateDecorator) void
LDAPIdentityStore.validatePassword
(LDAPObject user, String password) -
Uses of LDAPObject in org.keycloak.storage.ldap.mappers
Modifier and TypeMethodDescriptionPasswordUpdateCallback.beforePasswordUpdate
(UserModel user, LDAPObject ldapUser, UserCredentialModel password) protected String
HardcodedLDAPAttributeMapper.computeAttributeValue
(String ldapAttrName, String ldapAttrValue, LDAPObject ldapUser, UserModel localUser, RealmModel realm) boolean
AbstractLDAPStorageMapper.onAuthenticationFailure
(LDAPObject ldapUser, UserModel user, AuthenticationException ldapException, RealmModel realm) boolean
LDAPStorageMapper.onAuthenticationFailure
(LDAPObject ldapUser, UserModel user, AuthenticationException ldapException, RealmModel realm) Called when LDAP authentication of specified user fails.void
FullNameLDAPStorageMapper.onImportUserFromLDAP
(LDAPObject ldapUser, UserModel user, RealmModel realm, boolean isCreate) void
HardcodedAttributeMapper.onImportUserFromLDAP
(LDAPObject ldapUser, UserModel user, RealmModel realm, boolean isCreate) void
HardcodedLDAPAttributeMapper.onImportUserFromLDAP
(LDAPObject ldapUser, UserModel user, RealmModel realm, boolean isCreate) void
HardcodedLDAPGroupStorageMapper.onImportUserFromLDAP
(LDAPObject ldapUser, UserModel user, RealmModel realm, boolean isCreate) void
HardcodedLDAPRoleStorageMapper.onImportUserFromLDAP
(LDAPObject ldapUser, UserModel user, RealmModel realm, boolean isCreate) void
LDAPStorageMapper.onImportUserFromLDAP
(LDAPObject ldapUser, UserModel user, RealmModel realm, boolean isCreate) Called when importing user from LDAP to local keycloak DB.void
UserAttributeLDAPStorageMapper.onImportUserFromLDAP
(LDAPObject ldapUser, UserModel user, RealmModel realm, boolean isCreate) void
FullNameLDAPStorageMapper.onRegisterUserToLDAP
(LDAPObject ldapUser, UserModel localUser, RealmModel realm) void
HardcodedAttributeMapper.onRegisterUserToLDAP
(LDAPObject ldapUser, UserModel localUser, RealmModel realm) void
HardcodedLDAPAttributeMapper.onRegisterUserToLDAP
(LDAPObject ldapUser, UserModel localUser, RealmModel realm) void
HardcodedLDAPGroupStorageMapper.onRegisterUserToLDAP
(LDAPObject ldapUser, UserModel localUser, RealmModel realm) void
HardcodedLDAPRoleStorageMapper.onRegisterUserToLDAP
(LDAPObject ldapUser, UserModel localUser, RealmModel realm) void
LDAPStorageMapper.onRegisterUserToLDAP
(LDAPObject ldapUser, UserModel localUser, RealmModel realm) Called when register new user to LDAP - just after user was created in Keycloak DBvoid
UserAttributeLDAPStorageMapper.onRegisterUserToLDAP
(LDAPObject ldapUser, UserModel localUser, RealmModel realm) void
PasswordUpdateCallback.passwordUpdated
(UserModel user, LDAPObject ldapUser, UserCredentialModel password) void
PasswordUpdateCallback.passwordUpdateFailed
(UserModel user, LDAPObject ldapUser, UserCredentialModel password, ModelException exception) FullNameLDAPStorageMapper.proxy
(LDAPObject ldapUser, UserModel delegate, RealmModel realm) HardcodedAttributeMapper.proxy
(LDAPObject ldapUser, UserModel delegate, RealmModel realm) HardcodedLDAPAttributeMapper.proxy
(LDAPObject ldapUser, UserModel delegate, RealmModel realm) HardcodedLDAPGroupStorageMapper.proxy
(LDAPObject ldapUser, UserModel delegate, RealmModel realm) HardcodedLDAPRoleStorageMapper.proxy
(LDAPObject ldapUser, UserModel delegate, RealmModel realm) LDAPStorageMapper.proxy
(LDAPObject ldapUser, UserModel delegate, RealmModel realm) Called when invoke proxy on LDAP federation providerUserAttributeLDAPStorageMapper.proxy
(LDAPObject ldapUser, UserModel delegate, RealmModel realm) ModifierConstructorDescriptionLDAPTransaction
(LDAPStorageProvider ldapProvider, LDAPObject ldapUser) TxAwareLDAPUserModelDelegate
(UserModel delegate, LDAPStorageProvider provider, LDAPObject ldapUser) -
Uses of LDAPObject in org.keycloak.storage.ldap.mappers.membership
Modifier and TypeMethodDescriptionUserRolesRetrieveStrategy.getLDAPRoleMappings
(CommonLDAPGroupMapper roleOrGroupMapper, LDAPObject ldapUser, LDAPConfig ldapConfig) UserRolesRetrieveStrategy.GetRolesFromUserMemberOfAttribute.getLDAPRoleMappings
(CommonLDAPGroupMapper roleOrGroupMapper, LDAPObject ldapUser, LDAPConfig ldapConfig) UserRolesRetrieveStrategy.LoadRolesByMember.getLDAPRoleMappings
(CommonLDAPGroupMapper roleOrGroupMapper, LDAPObject ldapUser, LDAPConfig ldapConfig) Modifier and TypeMethodDescriptionMembershipType.getGroupMembers
(RealmModel realm, CommonLDAPGroupMapper groupMapper, LDAPObject ldapGroup, int firstResult, int maxResults) UserRolesRetrieveStrategy.getLDAPRoleMappings
(CommonLDAPGroupMapper roleOrGroupMapper, LDAPObject ldapUser, LDAPConfig ldapConfig) UserRolesRetrieveStrategy.GetRolesFromUserMemberOfAttribute.getLDAPRoleMappings
(CommonLDAPGroupMapper roleOrGroupMapper, LDAPObject ldapUser, LDAPConfig ldapConfig) UserRolesRetrieveStrategy.LoadRolesByMember.getLDAPRoleMappings
(CommonLDAPGroupMapper roleOrGroupMapper, LDAPObject ldapUser, LDAPConfig ldapConfig) MembershipType.getLDAPSubgroups
(CommonLDAPGroupMapper groupMapper, LDAPObject ldapGroup) -
Uses of LDAPObject in org.keycloak.storage.ldap.mappers.membership.group
Modifier and TypeMethodDescriptionGroupLDAPStorageMapper.createLDAPGroup
(String groupName, Map<String, Set<String>> additionalAttributes) GroupLDAPStorageMapper.loadLDAPGroupByName
(String groupName) GroupLDAPStorageMapper.updateLDAPGroup
(LDAPObject ldapObject) Modifier and TypeMethodDescriptionprotected List<LDAPObject>
GroupLDAPStorageMapper.getAllLDAPGroups
(boolean includeMemberAttribute) protected List<LDAPObject>
GroupLDAPStorageMapper.getLDAPGroupMappings
(LDAPObject ldapUser) Modifier and TypeMethodDescriptionvoid
GroupLDAPStorageMapper.addGroupMappingInLDAP
(RealmModel realm, GroupModel kcGroup, LDAPObject ldapUser) void
GroupLDAPStorageMapper.deleteGroupMappingInLDAP
(LDAPObject ldapUser, LDAPObject ldapGroup) protected GroupModel
GroupLDAPStorageMapper.findKcGroupByLDAPGroup
(RealmModel realm, GroupModel parent, LDAPObject ldapGroup) protected GroupModel
GroupLDAPStorageMapper.findKcGroupOrSyncFromLDAP
(RealmModel realm, GroupModel parent, LDAPObject ldapGroup, UserModel user) protected List<LDAPObject>
GroupLDAPStorageMapper.getLDAPGroupMappings
(LDAPObject ldapUser) GroupLDAPStorageMapper.getLDAPSubgroups
(LDAPObject ldapGroup) void
GroupLDAPStorageMapper.onImportUserFromLDAP
(LDAPObject ldapUser, UserModel user, RealmModel realm, boolean isCreate) void
GroupLDAPStorageMapper.onRegisterUserToLDAP
(LDAPObject ldapUser, UserModel localUser, RealmModel realm) GroupLDAPStorageMapper.proxy
(LDAPObject ldapUser, UserModel delegate, RealmModel realm) GroupLDAPStorageMapper.updateLDAPGroup
(LDAPObject ldapObject) ModifierConstructorDescriptionLDAPGroupMappingsUserDelegate
(RealmModel realm, UserModel user, LDAPObject ldapUser) -
Uses of LDAPObject in org.keycloak.storage.ldap.mappers.membership.role
Modifier and TypeMethodDescriptionRoleLDAPStorageMapper.createLDAPRole
(String roleName) RoleLDAPStorageMapper.loadLDAPRoleByName
(String roleName) RoleLDAPStorageMapper.loadRoleGroupByName
(String roleName) Modifier and TypeMethodDescriptionprotected List<LDAPObject>
RoleLDAPStorageMapper.getLDAPRoleMappings
(LDAPObject ldapUser) Modifier and TypeMethodDescriptionvoid
RoleLDAPStorageMapper.addRoleMappingInLDAP
(String roleName, LDAPObject ldapUser) void
RoleLDAPStorageMapper.deleteRoleMappingInLDAP
(LDAPObject ldapUser, LDAPObject ldapRole) protected List<LDAPObject>
RoleLDAPStorageMapper.getLDAPRoleMappings
(LDAPObject ldapUser) void
RoleLDAPStorageMapper.onImportUserFromLDAP
(LDAPObject ldapUser, UserModel user, RealmModel realm, boolean isCreate) void
RoleLDAPStorageMapper.onRegisterUserToLDAP
(LDAPObject ldapUser, UserModel localUser, RealmModel realm) RoleLDAPStorageMapper.proxy
(LDAPObject ldapUser, UserModel delegate, RealmModel realm) ModifierConstructorDescriptionLDAPRoleMappingsUserDelegate
(RealmModel realm, UserModel user, LDAPObject ldapUser, RoleContainerModel targetRoleContainer) -
Uses of LDAPObject in org.keycloak.storage.ldap.mappers.msad
Modifier and TypeMethodDescriptionMSADUserAccountControlStorageMapper.beforePasswordUpdate
(UserModel user, LDAPObject ldapUser, UserCredentialModel password) protected UserAccountControl
MSADUserAccountControlStorageMapper.getUserAccountControl
(LDAPObject ldapUser) boolean
MSADUserAccountControlStorageMapper.onAuthenticationFailure
(LDAPObject ldapUser, UserModel user, AuthenticationException ldapException, RealmModel realm) void
MSADUserAccountControlStorageMapper.onImportUserFromLDAP
(LDAPObject ldapUser, UserModel user, RealmModel realm, boolean isCreate) void
MSADUserAccountControlStorageMapper.onRegisterUserToLDAP
(LDAPObject ldapUser, UserModel localUser, RealmModel realm) void
MSADUserAccountControlStorageMapper.passwordUpdated
(UserModel user, LDAPObject ldapUser, UserCredentialModel password) void
MSADUserAccountControlStorageMapper.passwordUpdateFailed
(UserModel user, LDAPObject ldapUser, UserCredentialModel password, ModelException exception) MSADUserAccountControlStorageMapper.proxy
(LDAPObject ldapUser, UserModel delegate, RealmModel realm) protected void
MSADUserAccountControlStorageMapper.updateUserAccountControl
(boolean updateInLDAP, LDAPObject ldapUser, UserAccountControl accountControl) ModifierConstructorDescriptionMSADUserModelDelegate
(UserModel delegate, LDAPObject ldapUser, boolean isAlwaysReadEnabledFromLdap) -
Uses of LDAPObject in org.keycloak.storage.ldap.mappers.msadlds
Modifier and TypeMethodDescriptionMSADLDSUserAccountControlStorageMapper.beforePasswordUpdate
(UserModel user, LDAPObject ldapUser, UserCredentialModel password) boolean
MSADLDSUserAccountControlStorageMapper.onAuthenticationFailure
(LDAPObject ldapUser, UserModel user, AuthenticationException ldapException, RealmModel realm) void
MSADLDSUserAccountControlStorageMapper.onImportUserFromLDAP
(LDAPObject ldapUser, UserModel user, RealmModel realm, boolean isCreate) void
MSADLDSUserAccountControlStorageMapper.onRegisterUserToLDAP
(LDAPObject ldapUser, UserModel localUser, RealmModel realm) void
MSADLDSUserAccountControlStorageMapper.passwordUpdated
(UserModel user, LDAPObject ldapUser, UserCredentialModel password) void
MSADLDSUserAccountControlStorageMapper.passwordUpdateFailed
(UserModel user, LDAPObject ldapUser, UserCredentialModel password, ModelException exception) MSADLDSUserAccountControlStorageMapper.proxy
(LDAPObject ldapUser, UserModel delegate, RealmModel realm) ModifierConstructorDescriptionMSADUserModelDelegate
(UserModel delegate, LDAPObject ldapUser, boolean isAlwaysReadEnabledFromLdap)