Package com.flowable.idm.engine.impl
Class IdmIdentityServiceImpl
java.lang.Object
org.flowable.common.engine.impl.service.CommonServiceImpl<C>
org.flowable.common.engine.impl.service.CommonEngineServiceImpl<CoreIdmEngineConfiguration>
com.flowable.idm.engine.impl.BaseIdmIdentityServiceImpl
com.flowable.idm.engine.impl.IdmIdentityServiceImpl
- All Implemented Interfaces:
PlatformIdentityService
,IdmIdentityService
public class IdmIdentityServiceImpl
extends BaseIdmIdentityServiceImpl
implements PlatformIdentityService
- Author:
- Tijs Rademakers, Filip Hrisafov
-
Field Summary
Fields inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
commandExecutor
Fields inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
configuration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
checkPassword
(String userId, String password) void
createMembership
(String userId, String groupId) createNewGroupBuilder
(String groupId) createNewUserBuilder
(String userId) Create user builder for a new user with iduserId
.createUpdateGroupBuilder
(String groupId) createUpdateUserBuilder
(String userId) void
deleteGroup
(String groupId) void
deleteMembership
(String userId, String groupId) void
deleteUser
(String userId) findPlatformGroupById
(String groupId) findPlatformGroupsForUser
(String userId) findPlatformUserById
(String userId) Find the unique tenant idsgetGroupsWithPrivilege
(String name) getUsersWithPrivilege
(String name) void
void
void
updateUserPassword
(User user) Methods inherited from class com.flowable.idm.engine.impl.BaseIdmIdentityServiceImpl
addGroupPrivilegeMapping, addUserPrivilegeMapping, checkAccessToken, createAccessTokenQuery, createAuthenticationTokenBuilder, createGroupQuery, createNativeTokenQuery, createNewAccessTokenBuilder, createPlatformIdentityInfoBuilder, createPlatformIdentityInfoQuery, createPrivilege, createPrivilegeQuery, createProperty, createTokenQuery, createUserQuery, deleteAccessToken, deleteGroupPrivilegeMapping, deletePlatformIdentityInfoById, deletePlatformIdentityInfoByUserId, deletePlatformIdentityInfoByUserIdAndTenantId, deletePrivilege, deleteProperty, deleteToken, deleteUserInfo, deleteUserPrivilegeMapping, findAccessToken, findIdentityInfoByUserIdAndName, findPropertyByName, getPlatformUserInfo, getPrivilegeMappingsByPrivilegeId, getUserInfo, getUserInfoKeys, getUserPicture, newToken, saveToken, setAuthenticatedUserId, setPlatformUserInfo, setUserDefinitionById, setUserDefinitionByKey, setUserInfo, setUserPicture, setUserStateAndSubState, setUserStateAndSubState, updateProperty, updateUserPresence, updateUserPresence
Methods inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
getCommandExecutor, setCommandExecutor
Methods inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
getConfiguration
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.flowable.idm.api.IdmIdentityService
addGroupPrivilegeMapping, addUserPrivilegeMapping, createGroupQuery, createNativeTokenQuery, createPrivilege, createPrivilegeQuery, createTokenQuery, createUserQuery, deleteGroupPrivilegeMapping, deletePrivilege, deleteToken, deleteUserInfo, deleteUserPrivilegeMapping, getPrivilegeMappingsByPrivilegeId, getUserInfo, getUserInfoKeys, getUserPicture, newToken, saveToken, setAuthenticatedUserId, setUserInfo, setUserPicture
Methods inherited from interface com.flowable.core.idm.api.PlatformIdentityService
checkAccessToken, createAccessTokenQuery, createAuthenticationTokenBuilder, createNewAccessTokenBuilder, createPlatformIdentityInfoBuilder, createPlatformIdentityInfoQuery, createProperty, deactivateUser, deleteAccessToken, deletePlatformIdentityInfoById, deletePlatformIdentityInfoByUserId, deletePlatformIdentityInfoByUserIdAndTenantId, deleteProperty, findAccessToken, findIdentityInfoByUserIdAndName, findPropertyByName, getPlatformUserInfo, reactivateUser, setPlatformUserInfo, setUserDefinitionById, setUserDefinitionByKey, setUserState, setUserStateAndSubState, setUserStateAndSubState, setUserSubState, updateProperty, updateUserPresence, updateUserPresence
-
Constructor Details
-
IdmIdentityServiceImpl
-
-
Method Details
-
newGroup
- Specified by:
newGroup
in interfaceIdmIdentityService
-
newUser
- Specified by:
newUser
in interfaceIdmIdentityService
-
saveGroup
- Specified by:
saveGroup
in interfaceIdmIdentityService
-
saveUser
- Specified by:
saveUser
in interfaceIdmIdentityService
-
updateUserPassword
- Specified by:
updateUserPassword
in interfaceIdmIdentityService
-
createPlatformUserQuery
- Specified by:
createPlatformUserQuery
in interfacePlatformIdentityService
-
createPlatformGroupQuery
- Specified by:
createPlatformGroupQuery
in interfacePlatformIdentityService
-
findPlatformGroupById
- Specified by:
findPlatformGroupById
in interfacePlatformIdentityService
-
findPlatformGroupsForUser
- Specified by:
findPlatformGroupsForUser
in interfacePlatformIdentityService
-
findUniqueTenantIds
Description copied from interface:PlatformIdentityService
Find the unique tenant ids- Specified by:
findUniqueTenantIds
in interfacePlatformIdentityService
- Returns:
- a list of the unique tenant ids
-
createNativeUserQuery
- Specified by:
createNativeUserQuery
in interfaceIdmIdentityService
-
createNewUserBuilder
Description copied from interface:PlatformIdentityService
Create user builder for a new user with iduserId
. The user is transient and must be saved usingPlatformUserBuilder.save()
- Specified by:
createNewUserBuilder
in interfacePlatformIdentityService
- Parameters:
userId
- the id of the new user
-
createNewGroupBuilder
- Specified by:
createNewGroupBuilder
in interfacePlatformIdentityService
-
createUpdateGroupBuilder
- Specified by:
createUpdateGroupBuilder
in interfacePlatformIdentityService
-
findPlatformUserById
- Specified by:
findPlatformUserById
in interfacePlatformIdentityService
-
createUpdateUserBuilder
- Specified by:
createUpdateUserBuilder
in interfacePlatformIdentityService
-
createNativeGroupQuery
- Specified by:
createNativeGroupQuery
in interfaceIdmIdentityService
-
createMembership
- Specified by:
createMembership
in interfaceIdmIdentityService
-
deleteGroup
- Specified by:
deleteGroup
in interfaceIdmIdentityService
-
deleteMembership
- Specified by:
deleteMembership
in interfaceIdmIdentityService
-
checkPassword
- Specified by:
checkPassword
in interfaceIdmIdentityService
-
deleteUser
- Specified by:
deleteUser
in interfaceIdmIdentityService
-
getGroupsWithPrivilege
- Specified by:
getGroupsWithPrivilege
in interfaceIdmIdentityService
-
getUsersWithPrivilege
- Specified by:
getUsersWithPrivilege
in interfaceIdmIdentityService
-