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
commandExecutorFields inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
configuration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckPassword(String userId, String password) voidcreateMembership(String userId, String groupId) org.flowable.idm.api.NativeGroupQueryorg.flowable.idm.api.NativeUserQuerycreateNewGroupBuilder(String groupId) createNewUserBuilder(String userId) Create user builder for a new user with iduserId.createUpdateGroupBuilder(String groupId) createUpdateUserBuilder(String userId) voiddeleteGroup(String groupId) voiddeleteMembership(String userId, String groupId) voiddeleteUser(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.Grouporg.flowable.idm.api.UservoidsaveGroup(org.flowable.idm.api.Group group) voidsaveUser(org.flowable.idm.api.User user) voidupdateUserPassword(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, updateUserPresenceMethods inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
getCommandExecutor, setCommandExecutorMethods inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
getConfigurationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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, setUserPictureMethods 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:
newGroupin interfaceorg.flowable.idm.api.IdmIdentityService
-
newUser
- Specified by:
newUserin interfaceorg.flowable.idm.api.IdmIdentityService
-
saveGroup
public void saveGroup(org.flowable.idm.api.Group group) - Specified by:
saveGroupin interfaceorg.flowable.idm.api.IdmIdentityService
-
saveUser
public void saveUser(org.flowable.idm.api.User user) - Specified by:
saveUserin interfaceorg.flowable.idm.api.IdmIdentityService
-
updateUserPassword
public void updateUserPassword(org.flowable.idm.api.User user) - Specified by:
updateUserPasswordin interfaceorg.flowable.idm.api.IdmIdentityService
-
createPlatformUserQuery
- Specified by:
createPlatformUserQueryin interfacePlatformIdentityService
-
createPlatformGroupQuery
- Specified by:
createPlatformGroupQueryin interfacePlatformIdentityService
-
findPlatformGroupById
- Specified by:
findPlatformGroupByIdin interfacePlatformIdentityService
-
findPlatformGroupsForUser
- Specified by:
findPlatformGroupsForUserin interfacePlatformIdentityService
-
findUniqueTenantIds
Description copied from interface:PlatformIdentityServiceFind the unique tenant ids- Specified by:
findUniqueTenantIdsin interfacePlatformIdentityService- Returns:
- a list of the unique tenant ids
-
createNativeUserQuery
public org.flowable.idm.api.NativeUserQuery createNativeUserQuery()- Specified by:
createNativeUserQueryin interfaceorg.flowable.idm.api.IdmIdentityService
-
createNewUserBuilder
Description copied from interface:PlatformIdentityServiceCreate user builder for a new user with iduserId. The user is transient and must be saved usingPlatformUserBuilder.save()- Specified by:
createNewUserBuilderin interfacePlatformIdentityService- Parameters:
userId- the id of the new user
-
createNewGroupBuilder
- Specified by:
createNewGroupBuilderin interfacePlatformIdentityService
-
createUpdateGroupBuilder
- Specified by:
createUpdateGroupBuilderin interfacePlatformIdentityService
-
findPlatformUserById
- Specified by:
findPlatformUserByIdin interfacePlatformIdentityService
-
createUpdateUserBuilder
- Specified by:
createUpdateUserBuilderin interfacePlatformIdentityService
-
createNativeGroupQuery
public org.flowable.idm.api.NativeGroupQuery createNativeGroupQuery()- Specified by:
createNativeGroupQueryin interfaceorg.flowable.idm.api.IdmIdentityService
-
createMembership
- Specified by:
createMembershipin interfaceorg.flowable.idm.api.IdmIdentityService
-
deleteGroup
- Specified by:
deleteGroupin interfaceorg.flowable.idm.api.IdmIdentityService
-
deleteMembership
- Specified by:
deleteMembershipin interfaceorg.flowable.idm.api.IdmIdentityService
-
checkPassword
- Specified by:
checkPasswordin interfaceorg.flowable.idm.api.IdmIdentityService
-
deleteUser
- Specified by:
deleteUserin interfaceorg.flowable.idm.api.IdmIdentityService
-
getGroupsWithPrivilege
- Specified by:
getGroupsWithPrivilegein interfaceorg.flowable.idm.api.IdmIdentityService
-
getUsersWithPrivilege
- Specified by:
getUsersWithPrivilegein interfaceorg.flowable.idm.api.IdmIdentityService
-