public interface IAccountDirect
extends common.direct.IDirect
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
Copyright
|
| Modifier and Type | Method and Description |
|---|---|
AccountBean |
add(AccountBean accountBean,
boolean skipPwdHistoryCheck,
com.engiweb.pm.dao.db.DAO dao)
Adds a new account if it not exists yet.
|
AccountBean |
add(AccountBean accountBean,
com.engiweb.pm.dao.db.DAO dao)
Adds a new account if it not exists yet.
|
void |
changePwd(AccountBean accountBean,
java.lang.String oldPwd,
java.lang.String newPwd,
boolean isAdm,
boolean forceChangePassword,
com.engiweb.pm.dao.db.DAO connDao) |
void |
changePwd(AccountBean accountBean,
java.lang.String oldPwd,
java.lang.String newPwd,
boolean isAdm,
com.engiweb.pm.dao.db.DAO dao)
Updates password related to an existing account.
|
void |
checkPwdSyntax(PwdCfgBean pwdCfgBean,
java.lang.String candidatePwd,
com.engiweb.pm.dao.db.DAO dao)
Check password syntax.
|
void |
consolidateAccount(AccountBean accountBean,
boolean removeOthers,
com.engiweb.pm.dao.db.DAO connDao)
consolidate entitlements to single Default accountBean and clean up the redundant ones
|
java.util.HashMap<AccountType,java.lang.Long> |
countInfoAccount(PwdCfgBean pwdCfgBean,
com.engiweb.pm.dao.db.DAO dao)
Count info account.
|
com.engiweb.pm.entity.BeanList<AccountBean> |
find(AccountBean accountBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Returns a list of accounts filtered by a passed
AccountBean object. |
java.util.Map<java.lang.String,java.util.AbstractMap.SimpleEntry<com.engiweb.profilemanager.common.bean.targetattr.PwdCfgAttrKeyBean,java.util.List<com.engiweb.profilemanager.common.bean.targetattr.PwdManagementAttrValBean>>> |
findAllAccountAttrKeyWithValue(AccountBean account,
java.lang.String languageCode,
java.lang.String languageCountry,
com.engiweb.pm.dao.db.DAO connDao) |
com.engiweb.pm.entity.BeanList<ApplicationBean> |
findApplication(ApplicationBean appBean,
AccountBean accountBean,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO connDao)
Find account's applications
|
java.util.Map<java.lang.String,java.util.List<com.engiweb.profilemanager.common.bean.targetattr.PwdManagementAttrValBean>> |
findAttrValue(com.engiweb.profilemanager.common.bean.targetattr.PwdCfgAttrKeyBean filterKey,
AccountBean account,
com.engiweb.pm.dao.db.DAO connDao) |
com.engiweb.pm.entity.BeanList<com.engiweb.profilemanager.common.bean.targetattr.PwdManagementAttrValBean> |
findAttrValue(com.engiweb.profilemanager.common.bean.targetattr.PwdCfgAttrKeyBean attrKeyBean,
AccountBean account,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao) |
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findEntitlement(EntitlementBean entBean,
ApplicationBean appBean,
AccountBean accountBean,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO connDao)
Find account's entitlements
|
java.lang.String |
getRandomPwd(UserBean userBean,
AccountBean acctBean,
PwdCfgBean pwdCfgB,
com.engiweb.pm.dao.db.DAO connDao)
Check password syntax.
|
void |
insertAttrValue(com.engiweb.pm.entity.BeanList<com.engiweb.profilemanager.common.bean.targetattr.PwdManagementAttrValBean> pwdManAttributeBean,
com.engiweb.profilemanager.common.bean.targetattr.PwdCfgAttrKeyBean attrKeyBean,
AccountBean account,
com.engiweb.pm.dao.db.DAO connDao) |
com.engiweb.pm.entity.BeanList<EntitlementBean> |
matchAccount(UserBean uBean,
AccountBean accountBean,
boolean riexecuteTargetEvent,
com.engiweb.pm.dao.db.DAO dao)
Match account.
|
AccountBean |
modify(AccountBean accountBean,
com.engiweb.pm.dao.db.DAO dao)
Updates an existing account.
|
void |
remove(AccountBean accountBean,
com.engiweb.pm.dao.db.DAO dao)
Deletes an existing accountBean.
|
void |
removeAndRefreshSOD(AccountBean accountBean,
boolean refreshUserSOD,
com.engiweb.pm.dao.db.DAO connDao) |
java.lang.String |
resolvePlaceHolder(java.lang.Long personId,
java.lang.String placeHolder,
com.engiweb.pm.dao.db.DAO connDao)
Resolves the placeholder with the mapped attribute value of the person
|
void |
synchronizePassword(UserBean owner,
com.engiweb.pm.entity.BeanList<AccountBean> accountBeanList,
java.lang.String igiPwd,
java.lang.String newPwd,
boolean isAdm,
boolean findOthers,
com.engiweb.pm.dao.db.DAO connDao)
Updates password and synchronizes other account password related to existing accounts with the same password.
|
com.engiweb.pm.entity.BeanList<EntitlementBean> |
unMatchAccount(AccountBean accountBean,
com.engiweb.pm.dao.db.DAO dao)
Unmatch account.
|
void |
updateAccount(AccountBean accountBean,
com.engiweb.pm.dao.db.DAO dao) |
void |
updateAccount(com.engiweb.pm.entity.BeanList<AccountBean> accountBeanList,
AccountBean accountBeanWithValuesSet,
com.engiweb.pm.dao.db.DAO dao)
Updates a list of account according to values set in the object accountBeanWithValuesSet.
|
java.util.List<java.lang.Integer> |
validatePasswordSyntax(PwdCfgBean pwdCfgBean,
UserBean userBean,
java.lang.String candidatePwd,
com.engiweb.pm.dao.db.DAO dao)
Validate password syntax.
|
static final java.lang.String COPYRIGHT
void insertAttrValue(com.engiweb.pm.entity.BeanList<com.engiweb.profilemanager.common.bean.targetattr.PwdManagementAttrValBean> pwdManAttributeBean,
com.engiweb.profilemanager.common.bean.targetattr.PwdCfgAttrKeyBean attrKeyBean,
AccountBean account,
com.engiweb.pm.dao.db.DAO connDao)
throws com.engiweb.toolkit.common.BackendException
pwdManAttributeBean - attrKeyBean - account - connDao - com.engiweb.toolkit.common.BackendExceptioncom.engiweb.pm.entity.BeanList<com.engiweb.profilemanager.common.bean.targetattr.PwdManagementAttrValBean> findAttrValue(com.engiweb.profilemanager.common.bean.targetattr.PwdCfgAttrKeyBean attrKeyBean,
AccountBean account,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
throws com.engiweb.toolkit.common.BackendException
attrKeyBean - account - paging - connDao - com.engiweb.toolkit.common.BackendExceptionjava.util.Map<java.lang.String,java.util.List<com.engiweb.profilemanager.common.bean.targetattr.PwdManagementAttrValBean>> findAttrValue(com.engiweb.profilemanager.common.bean.targetattr.PwdCfgAttrKeyBean filterKey,
AccountBean account,
com.engiweb.pm.dao.db.DAO connDao)
throws com.engiweb.toolkit.common.BackendException
filterKey - account - connDao - com.engiweb.toolkit.common.BackendExceptioncom.engiweb.pm.entity.BeanList<AccountBean> find(AccountBean accountBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
AccountBean object.accountBean - AccountBean the accountpaging - Pagingthe pagingdao - DAO the connection daoBeanList of AccountBeancom.engiweb.toolkit.common.BackendException - the backend exceptionAccountBean add(AccountBean accountBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
accountBean - AccountBean the account to adddao - DAO the connection daoAccountBean addedcom.engiweb.toolkit.common.BackendException - the pM security exceptioncom.engiweb.toolkit.common.BackendExceptionAccountBean add(AccountBean accountBean, boolean skipPwdHistoryCheck, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
accountBean - AccountBean the account to addskipPwdHistoryCheck - dao - DAO the connection daoAccountBean addedcom.engiweb.toolkit.common.BackendException - the pM security exceptioncom.engiweb.toolkit.common.BackendExceptionAccountBean modify(AccountBean accountBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
accountBean - AccountBean the account to modifydao - DAO the connection daoAccountBean modifiedcom.engiweb.toolkit.common.BackendException - the pM security exceptioncom.engiweb.toolkit.common.BackendExceptionvoid remove(AccountBean accountBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
accountBean - AccountBean the account to removedao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the pM security exceptioncom.engiweb.toolkit.common.BackendExceptionvoid changePwd(AccountBean accountBean, java.lang.String oldPwd, java.lang.String newPwd, boolean isAdm, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
accountBean - AccountBean the accountoldPwd - String the old passwordnewPwd - String the new passworddao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the pM security exceptioncom.engiweb.toolkit.common.BackendExceptionvoid changePwd(AccountBean accountBean, java.lang.String oldPwd, java.lang.String newPwd, boolean isAdm, boolean forceChangePassword, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
accountBean - AccountBean the accountoldPwd - String the old passwordnewPwd - String the new passwordisAdm - forceChangePassword - Boolean set a force change password for the userconnDao - com.engiweb.toolkit.common.BackendExceptionvoid updateAccount(com.engiweb.pm.entity.BeanList<AccountBean> accountBeanList, AccountBean accountBeanWithValuesSet, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
accountBeanList - BeanList of AccountBean the account beanaccountBeanWithValuesSet - AccountBean the account bean with values setdao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptionvoid updateAccount(AccountBean accountBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
com.engiweb.toolkit.common.BackendExceptionvoid checkPwdSyntax(PwdCfgBean pwdCfgBean, java.lang.String candidatePwd, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
pwdCfgBean - PwdCfgBean the configurationcandidatePwd - String the candidate passworddao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptionjava.util.List<java.lang.Integer> validatePasswordSyntax(PwdCfgBean pwdCfgBean, UserBean userBean, java.lang.String candidatePwd, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
pwdCfgBean - PwdCfgBean the configurationuserBean - UserBean the user of the accountcandidatePwd - String the candidate passworddao - DAO the daoList of errore codecom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<EntitlementBean> matchAccount(UserBean uBean, AccountBean accountBean, boolean riexecuteTargetEvent, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
uBean - UserBean the useraccountBean - AccountBean the accountriexecuteTargetEvent - the riexecute target eventdao - DAO the connection daoBeanList of EntitlementBeancom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<EntitlementBean> unMatchAccount(AccountBean accountBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
accountBean - AccountBean the accountBeanList of EntitlementBeancom.engiweb.toolkit.common.BackendException - the backend exceptionjava.util.HashMap<AccountType,java.lang.Long> countInfoAccount(PwdCfgBean pwdCfgBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
pwdCfgBean - PwdCfgBean the configurationHashMapcom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<EntitlementBean> findEntitlement(EntitlementBean entBean, ApplicationBean appBean, AccountBean accountBean, com.engiweb.pm.entity.Paging paging, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
entBean - EntitlementBean the entitlementappBean - ApplicationBean the applicationaccountBean - AccountBean the accountpaging - Paging the pagingcode_scope - String the code scopeconnDao - DAO the connection daoBeanList of EntitlementBeancom.engiweb.toolkit.common.BackendExceptioncom.engiweb.pm.entity.BeanList<ApplicationBean> findApplication(ApplicationBean appBean, AccountBean accountBean, com.engiweb.pm.entity.Paging paging, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
appBean - ApplicationBean the applicationaccountBean - AccountBean the accountpaging - Paging the pagingcode_scope - String the code scopeconnDao - DAO the connection daoBeanList of ApplicationBeancom.engiweb.toolkit.common.BackendExceptionjava.lang.String resolvePlaceHolder(java.lang.Long personId,
java.lang.String placeHolder,
com.engiweb.pm.dao.db.DAO connDao)
throws com.engiweb.toolkit.common.BackendException
personId - id of the personplaceHolder - placeholder to resolvecom.engiweb.toolkit.common.BackendExceptionvoid consolidateAccount(AccountBean accountBean, boolean removeOthers, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
accountBean - the accountBean to consolidatecom.engiweb.toolkit.common.BackendExceptionvoid synchronizePassword(UserBean owner, com.engiweb.pm.entity.BeanList<AccountBean> accountBeanList, java.lang.String igiPwd, java.lang.String newPwd, boolean isAdm, boolean findOthers, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
owner - UserBean the owner of accountsaccountBeanList - BeanList of AccountBean the account beanigiPwd - String user's current system passwordnewPwd - String the new passwordisAdm - boolean indication if the operation is triggered by system administratorfindOthers - boolean indication if resolving other accounts in the group is neededdao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the pM security exceptionjava.lang.String getRandomPwd(UserBean userBean, AccountBean acctBean, PwdCfgBean pwdCfgB, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
pwdCfgBean - PwdCfgBean the configurationuserBean - UserBean the User BeanacctBean - AccountBean the Account Beandao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptionvoid removeAndRefreshSOD(AccountBean accountBean, boolean refreshUserSOD, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
com.engiweb.toolkit.common.BackendExceptionjava.util.Map<java.lang.String,java.util.AbstractMap.SimpleEntry<com.engiweb.profilemanager.common.bean.targetattr.PwdCfgAttrKeyBean,java.util.List<com.engiweb.profilemanager.common.bean.targetattr.PwdManagementAttrValBean>>> findAllAccountAttrKeyWithValue(AccountBean account, java.lang.String languageCode, java.lang.String languageCountry, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
com.engiweb.toolkit.common.BackendException