Package com.flowable.idm.engine.impl
Class IdmIdentityServiceImpl
java.lang.Object
org.flowable.common.engine.impl.service.CommonServiceImpl<CoreIdmEngineConfiguration>
org.flowable.common.engine.impl.service.CommonEngineServiceImpl<CoreIdmEngineConfiguration>
com.flowable.idm.engine.impl.BaseIdmIdentityServiceImpl
com.flowable.idm.engine.impl.IdmIdentityServiceImpl
- All Implemented Interfaces:
PlatformIdentityService
,org.flowable.idm.api.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
checkPassword
(String userId, String password) void
createMembership
(String userId, String groupId) org.flowable.idm.api.NativeGroupQuery
org.flowable.idm.api.NativeUserQuery
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 idsList
<org.flowable.idm.api.Group> getGroupsWithPrivilege
(String name) List
<org.flowable.idm.api.User> getUsersWithPrivilege
(String name) org.flowable.idm.api.Group
org.flowable.idm.api.User
void
saveGroup
(org.flowable.idm.api.Group group) void
saveUser
(org.flowable.idm.api.User user) void
updateUserPassword
(org.flowable.idm.api.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, deletePlatformIdentityInfoByGroupId, deletePlatformIdentityInfoByGroupIdAndTenantId, 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, deletePlatformIdentityInfoByGroupId, deletePlatformIdentityInfoByGroupIdAndTenantId, 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 interfaceorg.flowable.idm.api.IdmIdentityService
-
newUser
- Specified by:
newUser
in interfaceorg.flowable.idm.api.IdmIdentityService
-
saveGroup
public void saveGroup(org.flowable.idm.api.Group group) - Specified by:
saveGroup
in interfaceorg.flowable.idm.api.IdmIdentityService
-
saveUser
public void saveUser(org.flowable.idm.api.User user) - Specified by:
saveUser
in interfaceorg.flowable.idm.api.IdmIdentityService
-
updateUserPassword
public void updateUserPassword(org.flowable.idm.api.User user) - Specified by:
updateUserPassword
in interfaceorg.flowable.idm.api.IdmIdentityService
-
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
public org.flowable.idm.api.NativeUserQuery createNativeUserQuery()- Specified by:
createNativeUserQuery
in interfaceorg.flowable.idm.api.IdmIdentityService
-
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
public org.flowable.idm.api.NativeGroupQuery createNativeGroupQuery()- Specified by:
createNativeGroupQuery
in interfaceorg.flowable.idm.api.IdmIdentityService
-
createMembership
- Specified by:
createMembership
in interfaceorg.flowable.idm.api.IdmIdentityService
-
deleteGroup
- Specified by:
deleteGroup
in interfaceorg.flowable.idm.api.IdmIdentityService
-
deleteMembership
- Specified by:
deleteMembership
in interfaceorg.flowable.idm.api.IdmIdentityService
-
checkPassword
- Specified by:
checkPassword
in interfaceorg.flowable.idm.api.IdmIdentityService
-
deleteUser
- Specified by:
deleteUser
in interfaceorg.flowable.idm.api.IdmIdentityService
-
getGroupsWithPrivilege
- Specified by:
getGroupsWithPrivilege
in interfaceorg.flowable.idm.api.IdmIdentityService
-
getUsersWithPrivilege
- Specified by:
getUsersWithPrivilege
in interfaceorg.flowable.idm.api.IdmIdentityService
-