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
Constructors Constructor Description IdmIdentityServiceImpl(CoreIdmEngineConfiguration configuration)
-
Method Summary
-
Methods inherited from class com.flowable.idm.engine.impl.BaseIdmIdentityServiceImpl
addGroupPrivilegeMapping, addUserPrivilegeMapping, createAuthenticationTokenBuilder, createGroupQuery, createNativeTokenQuery, createPlatformIdentityInfoBuilder, createPlatformIdentityInfoQuery, createPrivilege, createPrivilegeQuery, createProperty, createTokenQuery, createUserQuery, deleteGroupPrivilegeMapping, deletePlatformIdentityInfoById, deletePlatformIdentityInfoByUserId, deletePlatformIdentityInfoByUserIdAndTenantId, deletePrivilege, deleteProperty, deleteToken, deleteUserInfo, deleteUserPrivilegeMapping, 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
createAuthenticationTokenBuilder, createPlatformIdentityInfoBuilder, createPlatformIdentityInfoQuery, createProperty, deactivateUser, deletePlatformIdentityInfoById, deletePlatformIdentityInfoByUserId, deletePlatformIdentityInfoByUserIdAndTenantId, deleteProperty, findIdentityInfoByUserIdAndName, findPropertyByName, getPlatformUserInfo, reactivateUser, setPlatformUserInfo, setUserDefinitionById, setUserDefinitionByKey, setUserState, setUserStateAndSubState, setUserStateAndSubState, setUserSubState, updateProperty, updateUserPresence, updateUserPresence
-
-
-
-
Constructor Detail
-
IdmIdentityServiceImpl
public IdmIdentityServiceImpl(CoreIdmEngineConfiguration configuration)
-
-
Method Detail
-
newGroup
public Group newGroup(String groupId)
- Specified by:
newGroupin interfaceIdmIdentityService
-
newUser
public User newUser(String userId)
- Specified by:
newUserin interfaceIdmIdentityService
-
saveGroup
public void saveGroup(Group group)
- Specified by:
saveGroupin interfaceIdmIdentityService
-
saveUser
public void saveUser(User user)
- Specified by:
saveUserin interfaceIdmIdentityService
-
updateUserPassword
public void updateUserPassword(User user)
- Specified by:
updateUserPasswordin interfaceIdmIdentityService
-
createPlatformUserQuery
public PlatformUserQuery createPlatformUserQuery()
- Specified by:
createPlatformUserQueryin interfacePlatformIdentityService
-
createPlatformGroupQuery
public PlatformGroupQuery createPlatformGroupQuery()
- Specified by:
createPlatformGroupQueryin interfacePlatformIdentityService
-
findPlatformGroupById
public PlatformGroup findPlatformGroupById(String groupId)
- Specified by:
findPlatformGroupByIdin interfacePlatformIdentityService
-
findPlatformGroupsForUser
public List<PlatformGroup> findPlatformGroupsForUser(String userId)
- Specified by:
findPlatformGroupsForUserin interfacePlatformIdentityService
-
findUniqueTenantIds
public List<String> findUniqueTenantIds()
Description copied from interface:PlatformIdentityServiceFind the unique tenant ids- Specified by:
findUniqueTenantIdsin interfacePlatformIdentityService- Returns:
- a list of the unique tenant ids
-
createNativeUserQuery
public NativeUserQuery createNativeUserQuery()
- Specified by:
createNativeUserQueryin interfaceIdmIdentityService
-
createNewUserBuilder
public PlatformUserBuilder createNewUserBuilder(String userId)
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
public PlatformGroupBuilder createNewGroupBuilder(String groupId)
- Specified by:
createNewGroupBuilderin interfacePlatformIdentityService
-
createUpdateGroupBuilder
public PlatformGroupBuilder createUpdateGroupBuilder(String groupId)
- Specified by:
createUpdateGroupBuilderin interfacePlatformIdentityService
-
findPlatformUserById
public PlatformUserEntity findPlatformUserById(String userId)
- Specified by:
findPlatformUserByIdin interfacePlatformIdentityService
-
createUpdateUserBuilder
public PlatformUserBuilder createUpdateUserBuilder(String userId)
- Specified by:
createUpdateUserBuilderin interfacePlatformIdentityService
-
createNativeGroupQuery
public NativeGroupQuery createNativeGroupQuery()
- Specified by:
createNativeGroupQueryin interfaceIdmIdentityService
-
createMembership
public void createMembership(String userId, String groupId)
- Specified by:
createMembershipin interfaceIdmIdentityService
-
deleteGroup
public void deleteGroup(String groupId)
- Specified by:
deleteGroupin interfaceIdmIdentityService
-
deleteMembership
public void deleteMembership(String userId, String groupId)
- Specified by:
deleteMembershipin interfaceIdmIdentityService
-
checkPassword
public boolean checkPassword(String userId, String password)
- Specified by:
checkPasswordin interfaceIdmIdentityService
-
deleteUser
public void deleteUser(String userId)
- Specified by:
deleteUserin interfaceIdmIdentityService
-
getGroupsWithPrivilege
public List<Group> getGroupsWithPrivilege(String name)
- Specified by:
getGroupsWithPrivilegein interfaceIdmIdentityService
-
getUsersWithPrivilege
public List<User> getUsersWithPrivilege(String name)
- Specified by:
getUsersWithPrivilegein interfaceIdmIdentityService
-
-