public class LDAPIdentityServiceImpl extends IdmIdentityServiceImpl
| Modifier and Type | Field and Description |
|---|---|
protected LDAPConfiguration |
ldapConfigurator |
protected LDAPGroupCache |
ldapGroupCache |
commandExecutorconfiguration| Constructor and Description |
|---|
LDAPIdentityServiceImpl(LDAPConfiguration ldapConfigurator,
LDAPGroupCache ldapGroupCache,
IdmEngineConfiguration idmEngineConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkPassword(String userId,
String password)
Checks if the password is valid for the given user.
|
GroupQuery |
createGroupQuery()
Creates a
GroupQuery that allows to programmatically query the groups. |
NativeGroupQuery |
createNativeGroupQuery()
Returns a new
NativeQuery for tasks. |
NativeUserQuery |
createNativeUserQuery()
Returns a new
NativeQuery for tasks. |
protected SearchControls |
createSearchControls() |
UserQuery |
createUserQuery()
Creates a
UserQuery that allows to programmatically query the users. |
void |
deleteGroup(String groupId)
Deletes the group.
|
void |
deleteUser(String userId) |
protected boolean |
executeCheckPassword(String userId,
String password) |
List<Group> |
getGroupsWithPrivilege(String name)
Returns all
Group instances that have a particular privilege. |
LDAPGroupCache |
getLdapGroupCache() |
List<User> |
getUsersWithPrivilege(String name)
Returns all
User instances that have a particular privilege. |
Group |
newGroup(String groupId)
Creates a new group.
|
User |
newUser(String userId)
Creates a new user.
|
void |
saveGroup(Group group)
Saves the group.
|
void |
saveUser(User user)
Saves the user.
|
void |
setLdapGroupCache(LDAPGroupCache ldapGroupCache) |
addGroupPrivilegeMapping, addUserPrivilegeMapping, createMembership, createNativeTokenQuery, createPrivilege, createPrivilegeQuery, createTokenQuery, deleteGroupPrivilegeMapping, deleteMembership, deletePrivilege, deleteToken, deleteUserInfo, deleteUserPrivilegeMapping, getPrivilegeMappingsByPrivilegeId, getUserInfo, getUserInfoKeys, getUserPicture, newToken, saveToken, setAuthenticatedUserId, setUserInfo, setUserPicture, updateUserPasswordgetCommandExecutor, setCommandExecutorgetConfigurationprotected LDAPConfiguration ldapConfigurator
protected LDAPGroupCache ldapGroupCache
public LDAPIdentityServiceImpl(LDAPConfiguration ldapConfigurator, LDAPGroupCache ldapGroupCache, IdmEngineConfiguration idmEngineConfiguration)
public UserQuery createUserQuery()
IdmIdentityServiceUserQuery that allows to programmatically query the users.createUserQuery in interface IdmIdentityServicecreateUserQuery in class IdmIdentityServiceImplpublic GroupQuery createGroupQuery()
IdmIdentityServiceGroupQuery that allows to programmatically query the groups.createGroupQuery in interface IdmIdentityServicecreateGroupQuery in class IdmIdentityServiceImplpublic boolean checkPassword(String userId, String password)
IdmIdentityServicecheckPassword in interface IdmIdentityServicecheckPassword in class IdmIdentityServiceImplpublic List<Group> getGroupsWithPrivilege(String name)
IdmIdentityServiceGroup instances that have a particular privilege.getGroupsWithPrivilege in interface IdmIdentityServicegetGroupsWithPrivilege in class IdmIdentityServiceImplpublic List<User> getUsersWithPrivilege(String name)
IdmIdentityServiceUser instances that have a particular privilege.getUsersWithPrivilege in interface IdmIdentityServicegetUsersWithPrivilege in class IdmIdentityServiceImplpublic User newUser(String userId)
IdmIdentityServiceIdmIdentityService.saveUser(User).newUser in interface IdmIdentityServicenewUser in class IdmIdentityServiceImpluserId - id for the new user, cannot be null.public void saveUser(User user)
IdmIdentityServiceIdmIdentityService.updateUserPassword(User) to update existing user password.saveUser in interface IdmIdentityServicesaveUser in class IdmIdentityServiceImpluser - user to save, cannot be null.IdmIdentityService.updateUserPassword(User)public NativeUserQuery createNativeUserQuery()
IdmIdentityServiceNativeQuery for tasks.createNativeUserQuery in interface IdmIdentityServicecreateNativeUserQuery in class IdmIdentityServiceImplpublic void deleteUser(String userId)
deleteUser in interface IdmIdentityServicedeleteUser in class IdmIdentityServiceImpluserId - id of user to delete, cannot be null. When an id is passed for a non-existent user, this operation is ignored.public Group newGroup(String groupId)
IdmIdentityServiceIdmIdentityService.saveGroup(Group).newGroup in interface IdmIdentityServicenewGroup in class IdmIdentityServiceImplgroupId - id for the new group, cannot be null.public NativeGroupQuery createNativeGroupQuery()
IdmIdentityServiceNativeQuery for tasks.createNativeGroupQuery in interface IdmIdentityServicecreateNativeGroupQuery in class IdmIdentityServiceImplpublic void saveGroup(Group group)
IdmIdentityServicesaveGroup in interface IdmIdentityServicesaveGroup in class IdmIdentityServiceImplgroup - group to save. Cannot be null.public void deleteGroup(String groupId)
IdmIdentityServicedeleteGroup in interface IdmIdentityServicedeleteGroup in class IdmIdentityServiceImplgroupId - id of the group that should be deleted, cannot be null.protected SearchControls createSearchControls()
public LDAPGroupCache getLdapGroupCache()
public void setLdapGroupCache(LDAPGroupCache ldapGroupCache)
Copyright © 2023 Flowable. All rights reserved.