Class IdentityInfoManager
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.AbstractManager
-
- org.camunda.bpm.engine.impl.persistence.entity.IdentityInfoManager
-
- All Implemented Interfaces:
Session
public class IdentityInfoManager extends AbstractManager
- Author:
- Tom Baeyens
-
-
Constructor Summary
Constructors Constructor Description IdentityInfoManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
decryptPassword(byte[] storedPassword, String userPassword)
void
deleteIdentityInfo(IdentityInfoEntity identityInfo)
void
deleteUserInfoByUserId(String userId)
void
deleteUserInfoByUserIdAndKey(String userId, String key)
byte[]
encryptPassword(String accountPassword, String userPassword)
protected List<IdentityInfoEntity>
findIdentityInfoDetails(String identityInfoId)
IdentityInfoEntity
findUserAccountByUserIdAndKey(String userId, String userPassword, String key)
IdentityInfoEntity
findUserInfoByUserIdAndKey(String userId, String key)
List<String>
findUserInfoKeysByUserIdAndType(String userId, String type)
void
setUserInfo(String userId, String userPassword, String type, String key, String value, String accountPassword, Map<String,String> accountDetails)
void
updateUserLock(UserEntity user, int attempts, Date lockExpirationTime)
-
Methods inherited from class org.camunda.bpm.engine.impl.persistence.AbstractManager
checkAuthorization, close, configureQuery, delete, deleteAuthorizations, deleteAuthorizationsForGroup, deleteAuthorizationsForUser, deleteDefaultAuthorizations, flush, getAttachmentManager, getAuthorizationManager, getBatchManager, getByteArrayManager, getCamundaFormDefinitionManager, getCaseDefinitionManager, getCaseExecutionManager, getCaseInstanceManager, getCommandContext, getCurrentAuthentication, getDbEntityManager, getDbSqlSession, getDecisionDefinitionManager, getDecisionRequirementsDefinitionManager, getDeploymentManager, getEventSubscriptionManager, getHistoricActivityInstanceManager, getHistoricBatchManager, getHistoricCaseActivityInstanceManager, getHistoricCaseInstanceManager, getHistoricDecisionInstanceManager, getHistoricDetailManager, getHistoricExternalTaskLogManager, getHistoricIdentityLinkManager, getHistoricIncidentManager, getHistoricJobLogManager, getHistoricProcessInstanceManager, getHistoricReportManager, getHistoricTaskInstanceManager, getHistoricVariableInstanceManager, getIdentityInfoManager, getIdentityLinkManager, getJobDefinitionManager, getJobManager, getProcessDefinitionManager, getProcessInstanceManager, getResourceAuthorizationProvider, getResourceManager, getSession, getTaskManager, getTaskReportManager, getTenantManager, getUserOperationLogManager, getVariableInstanceManager, insert, isAuthorizationEnabled, saveDefaultAuthorizations
-
-
-
-
Method Detail
-
deleteIdentityInfo
public void deleteIdentityInfo(IdentityInfoEntity identityInfo)
-
findUserAccountByUserIdAndKey
public IdentityInfoEntity findUserAccountByUserIdAndKey(String userId, String userPassword, String key)
-
findIdentityInfoDetails
protected List<IdentityInfoEntity> findIdentityInfoDetails(String identityInfoId)
-
setUserInfo
public void setUserInfo(String userId, String userPassword, String type, String key, String value, String accountPassword, Map<String,String> accountDetails)
-
findUserInfoByUserIdAndKey
public IdentityInfoEntity findUserInfoByUserIdAndKey(String userId, String key)
-
findUserInfoKeysByUserIdAndType
public List<String> findUserInfoKeysByUserIdAndType(String userId, String type)
-
deleteUserInfoByUserId
public void deleteUserInfoByUserId(String userId)
-
updateUserLock
public void updateUserLock(UserEntity user, int attempts, Date lockExpirationTime)
-
-