Package org.flowable.ldap
Class LDAPIdentityServiceImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.service.CommonServiceImpl<C>
-
- org.flowable.common.engine.impl.service.CommonEngineServiceImpl<IdmEngineConfiguration>
-
- org.flowable.idm.engine.impl.IdmIdentityServiceImpl
-
- org.flowable.ldap.LDAPIdentityServiceImpl
-
- All Implemented Interfaces:
IdmIdentityService
public class LDAPIdentityServiceImpl extends IdmIdentityServiceImpl
-
-
Field Summary
Fields Modifier and Type Field Description protected LDAPConfigurationldapConfiguratorprotected LDAPGroupCacheldapGroupCache
-
Constructor Summary
Constructors Constructor Description LDAPIdentityServiceImpl(LDAPConfiguration ldapConfigurator, LDAPGroupCache ldapGroupCache, IdmEngineConfiguration idmEngineConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheckPassword(String userId, String password)GroupQuerycreateGroupQuery()NativeGroupQuerycreateNativeGroupQuery()NativeUserQuerycreateNativeUserQuery()protected SearchControlscreateSearchControls()UserQuerycreateUserQuery()voiddeleteGroup(String groupId)voiddeleteUser(String userId)protected booleanexecuteCheckPassword(String userId, String password)List<Group>getGroupsWithPrivilege(String name)LDAPGroupCachegetLdapGroupCache()List<User>getUsersWithPrivilege(String name)GroupnewGroup(String groupId)UsernewUser(String userId)voidsaveGroup(Group group)voidsaveUser(User user)voidsetLdapGroupCache(LDAPGroupCache ldapGroupCache)-
Methods inherited from class org.flowable.idm.engine.impl.IdmIdentityServiceImpl
addGroupPrivilegeMapping, addUserPrivilegeMapping, createMembership, createNativeTokenQuery, createPrivilege, createPrivilegeQuery, createTokenQuery, deleteGroupPrivilegeMapping, deleteMembership, deletePrivilege, deleteToken, deleteUserInfo, deleteUserPrivilegeMapping, getPrivilegeMappingsByPrivilegeId, getUserInfo, getUserInfoKeys, getUserPicture, newToken, saveToken, setAuthenticatedUserId, setUserInfo, setUserPicture, updateUserPassword
-
Methods inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
getCommandExecutor, setCommandExecutor
-
-
-
-
Field Detail
-
ldapConfigurator
protected LDAPConfiguration ldapConfigurator
-
ldapGroupCache
protected LDAPGroupCache ldapGroupCache
-
-
Constructor Detail
-
LDAPIdentityServiceImpl
public LDAPIdentityServiceImpl(LDAPConfiguration ldapConfigurator, LDAPGroupCache ldapGroupCache, IdmEngineConfiguration idmEngineConfiguration)
-
-
Method Detail
-
createUserQuery
public UserQuery createUserQuery()
- Specified by:
createUserQueryin interfaceIdmIdentityService- Overrides:
createUserQueryin classIdmIdentityServiceImpl
-
createGroupQuery
public GroupQuery createGroupQuery()
- Specified by:
createGroupQueryin interfaceIdmIdentityService- Overrides:
createGroupQueryin classIdmIdentityServiceImpl
-
checkPassword
public boolean checkPassword(String userId, String password)
- Specified by:
checkPasswordin interfaceIdmIdentityService- Overrides:
checkPasswordin classIdmIdentityServiceImpl
-
getGroupsWithPrivilege
public List<Group> getGroupsWithPrivilege(String name)
- Specified by:
getGroupsWithPrivilegein interfaceIdmIdentityService- Overrides:
getGroupsWithPrivilegein classIdmIdentityServiceImpl
-
getUsersWithPrivilege
public List<User> getUsersWithPrivilege(String name)
- Specified by:
getUsersWithPrivilegein interfaceIdmIdentityService- Overrides:
getUsersWithPrivilegein classIdmIdentityServiceImpl
-
newUser
public User newUser(String userId)
- Specified by:
newUserin interfaceIdmIdentityService- Overrides:
newUserin classIdmIdentityServiceImpl
-
saveUser
public void saveUser(User user)
- Specified by:
saveUserin interfaceIdmIdentityService- Overrides:
saveUserin classIdmIdentityServiceImpl
-
createNativeUserQuery
public NativeUserQuery createNativeUserQuery()
- Specified by:
createNativeUserQueryin interfaceIdmIdentityService- Overrides:
createNativeUserQueryin classIdmIdentityServiceImpl
-
deleteUser
public void deleteUser(String userId)
- Specified by:
deleteUserin interfaceIdmIdentityService- Overrides:
deleteUserin classIdmIdentityServiceImpl
-
newGroup
public Group newGroup(String groupId)
- Specified by:
newGroupin interfaceIdmIdentityService- Overrides:
newGroupin classIdmIdentityServiceImpl
-
createNativeGroupQuery
public NativeGroupQuery createNativeGroupQuery()
- Specified by:
createNativeGroupQueryin interfaceIdmIdentityService- Overrides:
createNativeGroupQueryin classIdmIdentityServiceImpl
-
saveGroup
public void saveGroup(Group group)
- Specified by:
saveGroupin interfaceIdmIdentityService- Overrides:
saveGroupin classIdmIdentityServiceImpl
-
deleteGroup
public void deleteGroup(String groupId)
- Specified by:
deleteGroupin interfaceIdmIdentityService- Overrides:
deleteGroupin classIdmIdentityServiceImpl
-
createSearchControls
protected SearchControls createSearchControls()
-
getLdapGroupCache
public LDAPGroupCache getLdapGroupCache()
-
setLdapGroupCache
public void setLdapGroupCache(LDAPGroupCache ldapGroupCache)
-
-