Class IdentityInfoEntityManagerImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntityManager<EntityImpl,DM>
org.flowable.common.engine.impl.persistence.entity.AbstractEngineEntityManager<CoreIdmEngineConfiguration,EntityImpl,DM>
com.flowable.idm.engine.impl.persistence.entity.AbstractIdmEngineEntityManager<IdentityInfoEntity,IdentityInfoDataManager>
com.flowable.idm.engine.impl.persistence.entity.IdentityInfoEntityManagerImpl
- All Implemented Interfaces:
IdentityInfoEntityManager
,EntityManager<IdentityInfoEntity>
public class IdentityInfoEntityManagerImpl
extends AbstractIdmEngineEntityManager<IdentityInfoEntity,IdentityInfoDataManager>
implements IdentityInfoEntityManager
- Author:
- Tom Baeyens, Joram Barrez
-
Field Summary
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEngineEntityManager
engineConfiguration
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityManager
dataManager, engineType
-
Constructor Summary
ConstructorDescriptionIdentityInfoEntityManagerImpl
(CoreIdmEngineConfiguration idmEngineConfiguration, IdentityInfoDataManager identityInfoDataManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
decryptPassword
(byte[] storedPassword, String userPassword) void
deleteUserInfoByUserIdAndKey
(String userId, String key) protected byte[]
encryptPassword
(String accountPassword, String userPassword) findIdentityInfoByUserId
(String userId) findUserInfoByUserIdAndKey
(String userId, String key) findUserInfoKeysByUserIdAndType
(String userId, String type) protected void
insertAccountDetails
(IdentityInfoEntity identityInfoEntity, Map<String, String> accountDetails, Set<String> keys) void
updateUserInfo
(String userId, String userPassword, String type, String key, String value, String accountPassword, Map<String, String> accountDetails) Methods inherited from class com.flowable.idm.engine.impl.persistence.entity.AbstractIdmEngineEntityManager
createEntityEvent
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEngineEntityManager
getClock, getCommandExecutor, getEngineConfiguration, getEventDispatcher
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityManager
create, delete, delete, delete, findById, fireEntityDeletedEvent, fireEntityInsertedEvent, fireEntityUpdatedEvent, getDataManager, insert, insert, setDataManager, update, update
-
Constructor Details
-
IdentityInfoEntityManagerImpl
public IdentityInfoEntityManagerImpl(CoreIdmEngineConfiguration idmEngineConfiguration, IdentityInfoDataManager identityInfoDataManager)
-
-
Method Details
-
deleteUserInfoByUserIdAndKey
- Specified by:
deleteUserInfoByUserIdAndKey
in interfaceIdentityInfoEntityManager
-
updateUserInfo
public void updateUserInfo(String userId, String userPassword, String type, String key, String value, String accountPassword, Map<String, String> accountDetails) - Specified by:
updateUserInfo
in interfaceIdentityInfoEntityManager
-
insertAccountDetails
-
encryptPassword
-
decryptPassword
-
findUserInfoByUserIdAndKey
- Specified by:
findUserInfoByUserIdAndKey
in interfaceIdentityInfoEntityManager
-
findIdentityInfoByUserId
- Specified by:
findIdentityInfoByUserId
in interfaceIdentityInfoEntityManager
-
findUserInfoKeysByUserIdAndType
- Specified by:
findUserInfoKeysByUserIdAndType
in interfaceIdentityInfoEntityManager
-