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 java.lang.String
decryptPassword(byte[] storedPassword, java.lang.String userPassword)
void
deleteIdentityInfo(IdentityInfoEntity identityInfo)
void
deleteUserInfoByUserId(java.lang.String userId)
void
deleteUserInfoByUserIdAndKey(java.lang.String userId, java.lang.String key)
byte[]
encryptPassword(java.lang.String accountPassword, java.lang.String userPassword)
protected java.util.List<IdentityInfoEntity>
findIdentityInfoDetails(java.lang.String identityInfoId)
IdentityInfoEntity
findUserAccountByUserIdAndKey(java.lang.String userId, java.lang.String userPassword, java.lang.String key)
IdentityInfoEntity
findUserInfoByUserIdAndKey(java.lang.String userId, java.lang.String key)
java.util.List<java.lang.String>
findUserInfoKeysByUserIdAndType(java.lang.String userId, java.lang.String type)
void
setUserInfo(java.lang.String userId, java.lang.String userPassword, java.lang.String type, java.lang.String key, java.lang.String value, java.lang.String accountPassword, java.util.Map<java.lang.String,java.lang.String> accountDetails)
void
updateUserLock(UserEntity user, int attempts, java.util.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
-
deleteUserInfoByUserIdAndKey
public void deleteUserInfoByUserIdAndKey(java.lang.String userId, java.lang.String key)
-
deleteIdentityInfo
public void deleteIdentityInfo(IdentityInfoEntity identityInfo)
-
findUserAccountByUserIdAndKey
public IdentityInfoEntity findUserAccountByUserIdAndKey(java.lang.String userId, java.lang.String userPassword, java.lang.String key)
-
findIdentityInfoDetails
protected java.util.List<IdentityInfoEntity> findIdentityInfoDetails(java.lang.String identityInfoId)
-
setUserInfo
public void setUserInfo(java.lang.String userId, java.lang.String userPassword, java.lang.String type, java.lang.String key, java.lang.String value, java.lang.String accountPassword, java.util.Map<java.lang.String,java.lang.String> accountDetails)
-
encryptPassword
public byte[] encryptPassword(java.lang.String accountPassword, java.lang.String userPassword)
-
decryptPassword
public java.lang.String decryptPassword(byte[] storedPassword, java.lang.String userPassword)
-
findUserInfoByUserIdAndKey
public IdentityInfoEntity findUserInfoByUserIdAndKey(java.lang.String userId, java.lang.String key)
-
findUserInfoKeysByUserIdAndType
public java.util.List<java.lang.String> findUserInfoKeysByUserIdAndType(java.lang.String userId, java.lang.String type)
-
deleteUserInfoByUserId
public void deleteUserInfoByUserId(java.lang.String userId)
-
updateUserLock
public void updateUserLock(UserEntity user, int attempts, java.util.Date lockExpirationTime)
-
-