Modifier and Type | Method and Description |
---|---|
static LDAPObject |
LDAPUtils.addUserToLDAP(LDAPStorageProvider ldapProvider,
RealmModel realm,
UserModel user) |
static LDAPObject |
LDAPUtils.createLDAPGroup(LDAPStorageProvider ldapProvider,
String groupName,
String groupNameAttribute,
Collection<String> objectClasses,
String parentDn,
Map<String,Set<String>> additionalAttributes,
String membershipLdapAttribute) |
LDAPObject |
LDAPStorageUserManager.getManagedLDAPUser(String userId) |
protected LDAPObject |
LDAPStorageProvider.loadAndValidateUser(RealmModel realm,
UserModel local) |
LDAPObject |
LDAPStorageProvider.loadLDAPUserByUsername(RealmModel realm,
String username) |
LDAPObject |
LDAPStorageProvider.loadLDAPUserByUuid(RealmModel realm,
String uuid) |
protected LDAPObject |
LDAPStorageProvider.queryByEmail(RealmModel realm,
String email) |
static LDAPObject |
LDAPUtils.updateLDAPGroup(LDAPStorageProvider ldapProvider,
LDAPObject ldapObject) |
Modifier and Type | Method and Description |
---|---|
static List<LDAPObject> |
LDAPUtils.loadAllLDAPObjects(LDAPQuery ldapQuery,
LDAPStorageProvider ldapProvider)
Load all LDAP objects corresponding to given query.
|
protected List<LDAPObject> |
LDAPStorageProvider.searchLDAP(RealmModel realm,
Map<String,String> attributes) |
Modifier and Type | Method and Description |
---|---|
static 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.
|
static Set<String> |
LDAPUtils.getExistingMemberships(LDAPStorageProvider ldapProvider,
String memberAttrName,
LDAPObject ldapRole)
Return all existing memberships (values of attribute 'member' ) from the given ldapRole or ldapGroup
|
static String |
LDAPUtils.getMemberValueOfChildObject(LDAPObject ldapUser,
MembershipType membershipType,
String memberChildAttrName)
Get value to be used as attribute 'member' or 'memberUid' in some parent ldapObject
|
static 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) |
Modifier and Type | Method and Description |
---|---|
protected SynchronizationResult |
LDAPStorageProviderFactory.importLdapUsers(KeycloakSessionFactory sessionFactory,
String realmId,
ComponentModel fedModel,
List<LDAPObject> ldapUsers) |
Modifier and Type | Method and Description |
---|---|
void |
LDAPObject.populateRangedAttribute(LDAPObject obj,
String name) |
Modifier and Type | Method and Description |
---|---|
LDAPObject |
LDAPQuery.getFirstResult() |
Modifier and Type | Method and Description |
---|---|
List<LDAPObject> |
LDAPQuery.getResultList() |
Modifier and Type | Method and Description |
---|---|
List<LDAPObject> |
IdentityStore.fetchQueryResults(LDAPQuery LDAPQuery) |
Modifier and Type | Method and Description |
---|---|
void |
IdentityStore.add(LDAPObject ldapObject)
Persists the specified IdentityType
|
void |
IdentityStore.remove(LDAPObject ldapObject)
Removes the specified IdentityType
|
void |
IdentityStore.update(LDAPObject ldapObject)
Updates the specified IdentityType
|
void |
IdentityStore.updatePassword(LDAPObject user,
String password,
LDAPOperationDecorator passwordUpdateDecorator)
Updates the specified credential value.
|
void |
IdentityStore.validatePassword(LDAPObject user,
String password)
Validates the specified credentials.
|
Modifier and Type | Method and Description |
---|---|
List<LDAPObject> |
LDAPIdentityStore.fetchQueryResults(LDAPQuery identityQuery) |
Modifier and Type | Method and Description |
---|---|
void |
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) |
Modifier and Type | Field and Description |
---|---|
protected LDAPObject |
TxAwareLDAPUserModelDelegate.ldapUser |
Modifier and Type | Method and Description |
---|---|
LDAPOperationDecorator |
PasswordUpdateCallback.beforePasswordUpdate(UserModel user,
LDAPObject ldapUser,
UserCredentialModel password) |
protected String |
HardcodedLDAPAttributeMapper.computeAttributeValue(String ldapAttrName,
String ldapAttrValue,
LDAPObject ldapUser,
UserModel localUser,
RealmModel realm) |
boolean |
LDAPStorageMapper.onAuthenticationFailure(LDAPObject ldapUser,
UserModel user,
AuthenticationException ldapException,
RealmModel realm)
Called when LDAP authentication of specified user fails.
|
boolean |
AbstractLDAPStorageMapper.onAuthenticationFailure(LDAPObject ldapUser,
UserModel user,
AuthenticationException ldapException,
RealmModel realm) |
void |
UserAttributeLDAPStorageMapper.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 |
HardcodedLDAPRoleStorageMapper.onImportUserFromLDAP(LDAPObject ldapUser,
UserModel user,
RealmModel realm,
boolean isCreate) |
void |
HardcodedLDAPGroupStorageMapper.onImportUserFromLDAP(LDAPObject ldapUser,
UserModel user,
RealmModel realm,
boolean isCreate) |
void |
HardcodedLDAPAttributeMapper.onImportUserFromLDAP(LDAPObject ldapUser,
UserModel user,
RealmModel realm,
boolean isCreate) |
void |
HardcodedAttributeMapper.onImportUserFromLDAP(LDAPObject ldapUser,
UserModel user,
RealmModel realm,
boolean isCreate) |
void |
FullNameLDAPStorageMapper.onImportUserFromLDAP(LDAPObject ldapUser,
UserModel user,
RealmModel realm,
boolean isCreate) |
void |
UserAttributeLDAPStorageMapper.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 DB
|
void |
HardcodedLDAPRoleStorageMapper.onRegisterUserToLDAP(LDAPObject ldapUser,
UserModel localUser,
RealmModel realm) |
void |
HardcodedLDAPGroupStorageMapper.onRegisterUserToLDAP(LDAPObject ldapUser,
UserModel localUser,
RealmModel realm) |
void |
HardcodedLDAPAttributeMapper.onRegisterUserToLDAP(LDAPObject ldapUser,
UserModel localUser,
RealmModel realm) |
void |
HardcodedAttributeMapper.onRegisterUserToLDAP(LDAPObject ldapUser,
UserModel localUser,
RealmModel realm) |
void |
FullNameLDAPStorageMapper.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) |
UserModel |
UserAttributeLDAPStorageMapper.proxy(LDAPObject ldapUser,
UserModel delegate,
RealmModel realm) |
UserModel |
LDAPStorageMapper.proxy(LDAPObject ldapUser,
UserModel delegate,
RealmModel realm)
Called when invoke proxy on LDAP federation provider
|
UserModel |
HardcodedLDAPRoleStorageMapper.proxy(LDAPObject ldapUser,
UserModel delegate,
RealmModel realm) |
UserModel |
HardcodedLDAPGroupStorageMapper.proxy(LDAPObject ldapUser,
UserModel delegate,
RealmModel realm) |
UserModel |
HardcodedLDAPAttributeMapper.proxy(LDAPObject ldapUser,
UserModel delegate,
RealmModel realm) |
UserModel |
HardcodedAttributeMapper.proxy(LDAPObject ldapUser,
UserModel delegate,
RealmModel realm) |
UserModel |
FullNameLDAPStorageMapper.proxy(LDAPObject ldapUser,
UserModel delegate,
RealmModel realm) |
Constructor and Description |
---|
LDAPTransaction(LDAPStorageProvider ldapProvider,
LDAPObject ldapUser) |
TxAwareLDAPUserModelDelegate(UserModel delegate,
LDAPStorageProvider provider,
LDAPObject ldapUser) |
Modifier and Type | Method and Description |
---|---|
List<LDAPObject> |
UserRolesRetrieveStrategy.getLDAPRoleMappings(CommonLDAPGroupMapper roleOrGroupMapper,
LDAPObject ldapUser,
LDAPConfig ldapConfig) |
List<LDAPObject> |
UserRolesRetrieveStrategy.LoadRolesByMember.getLDAPRoleMappings(CommonLDAPGroupMapper roleOrGroupMapper,
LDAPObject ldapUser,
LDAPConfig ldapConfig) |
List<LDAPObject> |
UserRolesRetrieveStrategy.GetRolesFromUserMemberOfAttribute.getLDAPRoleMappings(CommonLDAPGroupMapper roleOrGroupMapper,
LDAPObject ldapUser,
LDAPConfig ldapConfig) |
Modifier and Type | Method and Description |
---|---|
abstract List<UserModel> |
MembershipType.getGroupMembers(RealmModel realm,
CommonLDAPGroupMapper groupMapper,
LDAPObject ldapGroup,
int firstResult,
int maxResults) |
List<LDAPObject> |
UserRolesRetrieveStrategy.getLDAPRoleMappings(CommonLDAPGroupMapper roleOrGroupMapper,
LDAPObject ldapUser,
LDAPConfig ldapConfig) |
List<LDAPObject> |
UserRolesRetrieveStrategy.LoadRolesByMember.getLDAPRoleMappings(CommonLDAPGroupMapper roleOrGroupMapper,
LDAPObject ldapUser,
LDAPConfig ldapConfig) |
List<LDAPObject> |
UserRolesRetrieveStrategy.GetRolesFromUserMemberOfAttribute.getLDAPRoleMappings(CommonLDAPGroupMapper roleOrGroupMapper,
LDAPObject ldapUser,
LDAPConfig ldapConfig) |
abstract Set<LDAPDn> |
MembershipType.getLDAPSubgroups(CommonLDAPGroupMapper groupMapper,
LDAPObject ldapGroup) |
Modifier and Type | Method and Description |
---|---|
LDAPObject |
GroupLDAPStorageMapper.createLDAPGroup(String groupName,
Map<String,Set<String>> additionalAttributes) |
LDAPObject |
GroupLDAPStorageMapper.loadLDAPGroupByName(String groupName) |
LDAPObject |
GroupLDAPStorageMapper.updateLDAPGroup(LDAPObject ldapObject) |
Modifier and Type | Method and Description |
---|---|
protected List<LDAPObject> |
GroupLDAPStorageMapper.getAllLDAPGroups(boolean includeMemberAttribute) |
protected List<LDAPObject> |
GroupLDAPStorageMapper.getLDAPGroupMappings(LDAPObject ldapUser) |
Modifier and Type | Method and Description |
---|---|
void |
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) |
protected Set<LDAPDn> |
GroupLDAPStorageMapper.getLDAPSubgroups(LDAPObject ldapGroup) |
void |
GroupLDAPStorageMapper.onImportUserFromLDAP(LDAPObject ldapUser,
UserModel user,
RealmModel realm,
boolean isCreate) |
void |
GroupLDAPStorageMapper.onRegisterUserToLDAP(LDAPObject ldapUser,
UserModel localUser,
RealmModel realm) |
UserModel |
GroupLDAPStorageMapper.proxy(LDAPObject ldapUser,
UserModel delegate,
RealmModel realm) |
LDAPObject |
GroupLDAPStorageMapper.updateLDAPGroup(LDAPObject ldapObject) |
Constructor and Description |
---|
LDAPGroupMappingsUserDelegate(RealmModel realm,
UserModel user,
LDAPObject ldapUser) |
Modifier and Type | Method and Description |
---|---|
LDAPObject |
RoleLDAPStorageMapper.createLDAPRole(String roleName) |
LDAPObject |
RoleLDAPStorageMapper.loadLDAPRoleByName(String roleName) |
LDAPObject |
RoleLDAPStorageMapper.loadRoleGroupByName(String roleName) |
Modifier and Type | Method and Description |
---|---|
protected List<LDAPObject> |
RoleLDAPStorageMapper.getLDAPRoleMappings(LDAPObject ldapUser) |
Modifier and Type | Method and Description |
---|---|
void |
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) |
UserModel |
RoleLDAPStorageMapper.proxy(LDAPObject ldapUser,
UserModel delegate,
RealmModel realm) |
Constructor and Description |
---|
LDAPRoleMappingsUserDelegate(RealmModel realm,
UserModel user,
LDAPObject ldapUser) |
Modifier and Type | Method and Description |
---|---|
LDAPOperationDecorator |
MSADUserAccountControlStorageMapper.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) |
UserModel |
MSADUserAccountControlStorageMapper.proxy(LDAPObject ldapUser,
UserModel delegate,
RealmModel realm) |
protected void |
MSADUserAccountControlStorageMapper.updateUserAccountControl(boolean updateInLDAP,
LDAPObject ldapUser,
UserAccountControl accountControl) |
Constructor and Description |
---|
MSADUserModelDelegate(UserModel delegate,
LDAPObject ldapUser) |
Modifier and Type | Method and Description |
---|---|
LDAPOperationDecorator |
MSADLDSUserAccountControlStorageMapper.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) |
UserModel |
MSADLDSUserAccountControlStorageMapper.proxy(LDAPObject ldapUser,
UserModel delegate,
RealmModel realm) |
Constructor and Description |
---|
MSADUserModelDelegate(UserModel delegate,
LDAPObject ldapUser) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.