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
Constructors Constructor Description IdentityInfoEntityManagerImpl(CoreIdmEngineConfiguration idmEngineConfiguration, IdentityInfoDataManager identityInfoDataManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
decryptPassword(byte[] storedPassword, String userPassword)
void
deleteUserInfoByUserIdAndKey(String userId, String key)
protected byte[]
encryptPassword(String accountPassword, String userPassword)
List<IdentityInfoEntity>
findIdentityInfoByUserId(String userId)
IdentityInfoEntity
findUserInfoByUserIdAndKey(String userId, String key)
List<String>
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 Detail
-
IdentityInfoEntityManagerImpl
public IdentityInfoEntityManagerImpl(CoreIdmEngineConfiguration idmEngineConfiguration, IdentityInfoDataManager identityInfoDataManager)
-
-
Method Detail
-
deleteUserInfoByUserIdAndKey
public void deleteUserInfoByUserIdAndKey(String userId, String key)
- 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
protected void insertAccountDetails(IdentityInfoEntity identityInfoEntity, Map<String,String> accountDetails, Set<String> keys)
-
findUserInfoByUserIdAndKey
public IdentityInfoEntity findUserInfoByUserIdAndKey(String userId, String key)
- Specified by:
findUserInfoByUserIdAndKey
in interfaceIdentityInfoEntityManager
-
findIdentityInfoByUserId
public List<IdentityInfoEntity> findIdentityInfoByUserId(String userId)
- Specified by:
findIdentityInfoByUserId
in interfaceIdentityInfoEntityManager
-
findUserInfoKeysByUserIdAndType
public List<String> findUserInfoKeysByUserIdAndType(String userId, String type)
- Specified by:
findUserInfoKeysByUserIdAndType
in interfaceIdentityInfoEntityManager
-
-