Uses of Class
org.keycloak.storage.ldap.idm.model.LDAPObject
Packages that use LDAPObject
Package
Description
-
Uses of LDAPObject in org.keycloak.storage.ldap
Methods in org.keycloak.storage.ldap that return LDAPObjectModifier and TypeMethodDescriptionstatic LDAPObject
LDAPUtils.addUserToLDAP
(LDAPStorageProvider ldapProvider, RealmModel realm, UserModel user) Method to crate 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.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) Methods in org.keycloak.storage.ldap that return types with arguments of type LDAPObjectModifier and TypeMethodDescriptionstatic List<LDAPObject>
LDAPUtils.loadAllLDAPObjects
(LDAPQuery ldapQuery, LDAPStorageProvider ldapProvider) Load all LDAP objects corresponding to given query.Methods in org.keycloak.storage.ldap with parameters of type LDAPObjectModifier 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.proxy
(RealmModel realm, UserModel local, LDAPObject ldapObject, boolean newUser) void
LDAPStorageUserManager.setManagedProxiedUser
(UserModel proxiedUser, LDAPObject ldapObject) static LDAPObject
LDAPUtils.updateLDAPGroup
(LDAPStorageProvider ldapProvider, LDAPObject ldapObject) Method parameters in org.keycloak.storage.ldap with type arguments of type LDAPObjectModifier 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
Methods in org.keycloak.storage.ldap.idm.model with parameters of type LDAPObjectModifier and TypeMethodDescriptionvoid
LDAPObject.populateRangedAttribute
(LDAPObject obj, String name) Method parameters in org.keycloak.storage.ldap.idm.model with type arguments of type LDAPObjectModifier and TypeMethodDescriptionvoid
LDAPObject.executeOnMandatoryAttributesComplete
(Set<String> mandatoryAttributeNames, Consumer<LDAPObject> consumer) -
Uses of LDAPObject in org.keycloak.storage.ldap.idm.query.internal
Methods in org.keycloak.storage.ldap.idm.query.internal that return LDAPObjectMethods in org.keycloak.storage.ldap.idm.query.internal that return types with arguments of type LDAPObject -
Uses of LDAPObject in org.keycloak.storage.ldap.idm.store
Methods in org.keycloak.storage.ldap.idm.store that return types with arguments of type LDAPObjectMethods in org.keycloak.storage.ldap.idm.store with parameters of type LDAPObjectModifier 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
Methods in org.keycloak.storage.ldap.idm.store.ldap that return types with arguments of type LDAPObjectMethods in org.keycloak.storage.ldap.idm.store.ldap with parameters of type LDAPObjectModifier and TypeMethodDescriptionvoid
LDAPIdentityStore.add
(LDAPObject ldapObject) protected void
LDAPIdentityStore.checkRename
(LDAPObject ldapObject) protected BasicAttributes
LDAPIdentityStore.extractAttributesForSaving
(LDAPObject ldapObject, boolean isCreate) protected String
LDAPIdentityStore.getEntryIdentifier
(LDAPObject ldapObject) 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
Fields in org.keycloak.storage.ldap.mappers declared as LDAPObjectMethods in org.keycloak.storage.ldap.mappers with parameters of type LDAPObjectModifier 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) Constructors in org.keycloak.storage.ldap.mappers with parameters of type LDAPObjectModifierConstructorDescriptionLDAPTransaction
(LDAPStorageProvider ldapProvider, LDAPObject ldapUser) TxAwareLDAPUserModelDelegate
(UserModel delegate, LDAPStorageProvider provider, LDAPObject ldapUser) -
Uses of LDAPObject in org.keycloak.storage.ldap.mappers.membership
Methods in org.keycloak.storage.ldap.mappers.membership that return types with arguments of type LDAPObjectModifier 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) Methods in org.keycloak.storage.ldap.mappers.membership with parameters of type LDAPObjectModifier 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
Methods in org.keycloak.storage.ldap.mappers.membership.group that return LDAPObjectModifier and TypeMethodDescriptionGroupLDAPStorageMapper.createLDAPGroup
(String groupName, Map<String, Set<String>> additionalAttributes) GroupLDAPStorageMapper.loadLDAPGroupByName
(String groupName) GroupLDAPStorageMapper.updateLDAPGroup
(LDAPObject ldapObject) Methods in org.keycloak.storage.ldap.mappers.membership.group that return types with arguments of type LDAPObjectModifier and TypeMethodDescriptionprotected List<LDAPObject>
GroupLDAPStorageMapper.getAllLDAPGroups
(boolean includeMemberAttribute) protected List<LDAPObject>
GroupLDAPStorageMapper.getLDAPGroupMappings
(LDAPObject ldapUser) Methods in org.keycloak.storage.ldap.mappers.membership.group with parameters of type LDAPObjectModifier and TypeMethodDescriptionvoid
GroupLDAPStorageMapper.addGroupMappingInLDAP
(RealmModel realm, GroupModel kcGroup, LDAPObject ldapUser) void
GroupLDAPStorageMapper.deleteGroupMappingInLDAP
(LDAPObject ldapUser, LDAPObject ldapGroup) protected GroupModel
GroupLDAPStorageMapper.findKcGroupByLDAPGroup
(RealmModel realm, LDAPObject ldapGroup) protected GroupModel
GroupLDAPStorageMapper.findKcGroupOrSyncFromLDAP
(RealmModel realm, 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) Constructors in org.keycloak.storage.ldap.mappers.membership.group with parameters of type LDAPObjectModifierConstructorDescriptionLDAPGroupMappingsUserDelegate
(RealmModel realm, UserModel user, LDAPObject ldapUser) -
Uses of LDAPObject in org.keycloak.storage.ldap.mappers.membership.role
Methods in org.keycloak.storage.ldap.mappers.membership.role that return LDAPObjectModifier and TypeMethodDescriptionRoleLDAPStorageMapper.createLDAPRole
(String roleName) RoleLDAPStorageMapper.loadLDAPRoleByName
(String roleName) RoleLDAPStorageMapper.loadRoleGroupByName
(String roleName) Methods in org.keycloak.storage.ldap.mappers.membership.role that return types with arguments of type LDAPObjectModifier and TypeMethodDescriptionprotected List<LDAPObject>
RoleLDAPStorageMapper.getLDAPRoleMappings
(LDAPObject ldapUser) Methods in org.keycloak.storage.ldap.mappers.membership.role with parameters of type LDAPObjectModifier 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) Constructors in org.keycloak.storage.ldap.mappers.membership.role with parameters of type LDAPObjectModifierConstructorDescriptionLDAPRoleMappingsUserDelegate
(RealmModel realm, UserModel user, LDAPObject ldapUser, RoleContainerModel targetRoleContainer) -
Uses of LDAPObject in org.keycloak.storage.ldap.mappers.msad
Methods in org.keycloak.storage.ldap.mappers.msad with parameters of type LDAPObjectModifier 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) Constructors in org.keycloak.storage.ldap.mappers.msad with parameters of type LDAPObject -
Uses of LDAPObject in org.keycloak.storage.ldap.mappers.msadlds
Methods in org.keycloak.storage.ldap.mappers.msadlds with parameters of type LDAPObjectModifier 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) Constructors in org.keycloak.storage.ldap.mappers.msadlds with parameters of type LDAPObject