Package com.soffid.iam.service
Class AccountServiceImpl
- java.lang.Object
-
- com.soffid.iam.service.AccountServiceBase
-
- com.soffid.iam.service.AccountServiceImpl
-
- All Implemented Interfaces:
com.soffid.iam.service.AccountService
,org.springframework.context.ApplicationContextAware
public class AccountServiceImpl extends AccountServiceBase implements org.springframework.context.ApplicationContextAware
-
-
Constructor Summary
Constructors Constructor Description AccountServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.soffid.iam.api.PagedResult<com.soffid.iam.api.Account>
findByJsonQuery(com.soffid.iam.api.AsyncList<com.soffid.iam.api.Account> result, String query, CriteriaSearchConfiguration cs)
com.soffid.iam.api.PasswordValidation
getAccountSynchronizationStatus(com.soffid.iam.api.Account account, String url, String auth)
com.soffid.iam.api.Password
getPassword(es.caib.seycon.ng.comu.AccountAccessLevelEnum level, com.soffid.iam.api.User usuari, AccountEntity acc, String url, String auth)
com.soffid.iam.api.Password
getSshKey(es.caib.seycon.ng.comu.AccountAccessLevelEnum level, com.soffid.iam.api.User usuari, AccountEntity acc, String url, String auth)
protected void
handleCheckinHPAccount(com.soffid.iam.api.Account account)
protected void
handleCheckinHPAccounts()
protected com.soffid.iam.api.PasswordValidation
handleCheckPasswordSynchronizationStatus(com.soffid.iam.api.Account account)
protected com.soffid.iam.api.Account
handleCreateAccount(com.soffid.iam.api.Account account)
protected com.soffid.iam.api.UserAccount
handleCreateAccount(com.soffid.iam.api.User usuari, com.soffid.iam.api.System dispatcher, String name)
protected com.soffid.iam.api.Account
handleCreateAccount2(com.soffid.iam.api.Account account)
protected com.soffid.iam.api.UserData
handleCreateAccountAttribute(com.soffid.iam.api.UserData attribute)
protected com.soffid.iam.api.AsyncProcessTracker
handleDisableAccounts(String scimQuery, List<com.soffid.iam.api.DisableObjectRule> rules)
protected com.soffid.iam.api.AsyncProcessTracker
handleDisableAccountsPreview(String scimQuery, List<com.soffid.iam.api.DisableObjectRule> rules, List<Object[]> actions)
protected com.soffid.iam.api.Account
handleFindAccount(String accountAndDispatcher)
protected com.soffid.iam.api.Account
handleFindAccount(String accountName, String dispatcherName)
protected com.soffid.iam.api.Account
handleFindAccountById(long id)
protected Collection<com.soffid.iam.api.Account>
handleFindAccountByJsonQuery(String query)
protected com.soffid.iam.api.PagedResult
handleFindAccountByJsonQuery(String query, Integer first, Integer max)
protected com.soffid.iam.api.AsyncList<com.soffid.iam.api.Account>
handleFindAccountByJsonQueryAsync(String query)
protected Collection<com.soffid.iam.api.Account>
handleFindAccountByText(String text)
protected com.soffid.iam.api.PagedResult<com.soffid.iam.api.Account>
handleFindAccountByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize)
protected com.soffid.iam.api.AsyncList<com.soffid.iam.api.Account>
handleFindAccountByTextAndJsonQueryAsync(String text, String jsonQuery)
protected com.soffid.iam.api.AsyncList<com.soffid.iam.api.Account>
handleFindAccountByTextAsync(String text)
protected Collection<String>
handleFindAccountNames(String system)
protected List<com.soffid.iam.api.Account>
handleFindAccountsByCriteria(es.caib.seycon.ng.comu.AccountCriteria criteria)
protected Collection<com.soffid.iam.api.HostService>
handleFindAccountServices(com.soffid.iam.api.Account account)
protected List<com.soffid.iam.api.Account>
handleFindAccountsNearToExpire(Date currentDate, Date limitDate, Collection<es.caib.seycon.ng.comu.AccountType> accTypes, Collection<com.soffid.iam.api.UserType> userTypes)
protected List<com.soffid.iam.api.Account>
handleFindSharedAccountsByUser(String userName)
protected List<com.soffid.iam.api.AccountHistory>
handleFindSharedAccountsHistoryByUser(String userName)
protected List<com.soffid.iam.api.UserAccount>
handleFindUserAccountsByDomain(String user, String passwordDomain)
protected List<com.soffid.iam.api.UserAccount>
handleFindUsersAccounts(String userName, String dispatcherName)
com.soffid.iam.api.Password
handleGenerateAccountPassword(com.soffid.iam.api.Account account)
protected com.soffid.iam.api.Account
handleGenerateAccountSshPrivateKey(com.soffid.iam.api.Account account)
com.soffid.iam.api.Password
handleGenerateAccountTemporaryPassword(com.soffid.iam.api.Account account)
protected void
handleGenerateUserAccounts(String user)
protected List<com.soffid.iam.api.UserData>
handleGetAccountAttributes(com.soffid.iam.api.Account acc)
Collection<String>
handleGetAccountUsers(com.soffid.iam.api.Account account)
Collection<String>
handleGetAccountUsers(com.soffid.iam.api.Account account, es.caib.seycon.ng.comu.AccountAccessLevelEnum level)
protected Collection<com.soffid.iam.api.SyncAgentTaskLog>
handleGetActiveTasks(com.soffid.iam.api.Account account)
protected com.soffid.iam.api.User
handleGetHPAccountOwner(com.soffid.iam.api.Account account)
Collection<com.soffid.iam.api.UserAccount>
handleGetUserAccounts(com.soffid.iam.api.User usuari)
protected Collection<Long>
handleGetUserGrantedAccountIds(com.soffid.iam.api.User usuari)
protected Collection<com.soffid.iam.api.Account>
handleGetUserGrantedAccounts(com.soffid.iam.api.User usuari)
protected Collection<com.soffid.iam.api.Account>
handleGetUserGrantedAccounts(com.soffid.iam.api.User usuari, es.caib.seycon.ng.comu.AccountAccessLevelEnum level)
protected void
handleGrantAcccountToUser(com.soffid.iam.api.Account account, String user, Long processId, Date until)
protected String
handleGuessAccountName(String userName, String dispatcherName)
protected String
handleGuessAccountNameForDomain(String userName, String domainName)
protected boolean
handleHasAccountSshKey(com.soffid.iam.api.Account account)
protected boolean
handleIsAccountPasswordAvailable(long accountId)
protected boolean
handleIsUpdatePending(com.soffid.iam.api.Account account)
protected int
handleIsUpdatePendingExtended(com.soffid.iam.api.Account account)
protected List<com.soffid.iam.api.Account>
handleListNonUserAccounts(com.soffid.iam.api.System dispatcher, String nom)
protected List<com.soffid.iam.api.UserAccount>
handleListUserAccounts(com.soffid.iam.api.User usuari)
protected com.soffid.iam.api.Account
handleLoad(Long identifier)
protected boolean
handleNeedsAccount(String userName, String dispatcherName)
protected String
handlePredictAccountName(Long userId, String dispatcher, Long domainId)
protected com.soffid.iam.api.Password
handleQueryAccountPassword(com.soffid.iam.api.Account account)
protected com.soffid.iam.api.Password
handleQueryAccountPasswordBypassPolicy(long accountId, es.caib.seycon.ng.comu.AccountAccessLevelEnum level)
protected com.soffid.iam.api.Password
handleQueryAccountSshKey(com.soffid.iam.api.Account account)
protected com.soffid.iam.api.Password
handleQueryAccountSshKeyBypassPolicy(long accountId, es.caib.seycon.ng.comu.AccountAccessLevelEnum level)
protected void
handleRegisterAccountReservationProcess(com.soffid.iam.api.Account account, String user, Long processId)
protected void
handleRemoveAccount(com.soffid.iam.api.Account account)
protected void
handleRemoveAccount(com.soffid.iam.api.UserAccount account)
protected void
handleRemoveAccountAttribute(com.soffid.iam.api.UserData attribute)
protected com.soffid.iam.api.Account
handleRemoveAccountSnapshot(com.soffid.iam.api.Account account)
protected void
handleRenameAccount(com.soffid.iam.api.Account account)
protected void
handleSendAccountPassword(com.soffid.iam.api.Account account)
protected void
handleSetAccountPassword(com.soffid.iam.api.Account account, com.soffid.iam.api.Password password)
protected com.soffid.iam.api.Password
handleSetAccountPassword(com.soffid.iam.api.Account account, com.soffid.iam.api.Password password, boolean temporary, boolean online)
protected com.soffid.iam.api.Account
handleSetAccountSshPrivateKey(com.soffid.iam.api.Account account, String privateKey)
void
handleSetAccountTemporaryPassword(com.soffid.iam.api.Account account, com.soffid.iam.api.Password password)
protected boolean
handleSetHPAccountPassword(com.soffid.iam.api.Account account, com.soffid.iam.api.Password password, Date date, boolean force)
protected void
handleSynchronizeAccount(String accountName, String system)
protected com.soffid.iam.api.Account
handleUpdateAccount(com.soffid.iam.api.Account account)
protected com.soffid.iam.api.Account
handleUpdateAccount2(com.soffid.iam.api.Account account)
protected com.soffid.iam.api.UserData
handleUpdateAccountAttribute(com.soffid.iam.api.UserData attribute)
protected void
handleUpdateAccountLastUpdate(com.soffid.iam.api.Account account)
protected void
handleUpdateAccountPasswordDate(com.soffid.iam.api.Account account, Long passwordTerm)
protected void
handleUpdateAccountPasswordDate2(com.soffid.iam.api.Account account, Date passwordTerm)
void
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
Methods inherited from class com.soffid.iam.service.AccountServiceBase
checkinHPAccount, checkinHPAccounts, checkPasswordSynchronizationStatus, createAccount, createAccount, createAccount2, createAccountAttribute, disableAccounts, disableAccountsPreview, findAccount, findAccount, findAccountById, findAccountByJsonQuery, findAccountByJsonQuery, findAccountByJsonQueryAsync, findAccountByText, findAccountByTextAndJsonQuery, findAccountByTextAndJsonQueryAsync, findAccountByTextAsync, findAccountNames, findAccountsByCriteria, findAccountServices, findAccountsNearToExpire, findSharedAccountsByUser, findSharedAccountsHistoryByUser, findUserAccountsByDomain, findUsersAccounts, generateAccountPassword, generateAccountSshPrivateKey, generateAccountTemporaryPassword, generateUserAccounts, getAccountAccessEntityDao, getAccountAttributeEntityDao, getAccountAttributes, getAccountEntityDao, getAccountMetadataEntityDao, getAccountSnapshotEntityDao, getAccountUsers, getAccountUsers, getActiveTasks, getApplicationService, getAsyncRunnerService, getAttributeValidationService, getAuditEntityDao, getAuditService, getAuthorizationService, getBpmEngine, getDispatcherService, getGroupEntityDao, getHostServiceEntityDao, getHPAccountOwner, getInternalPasswordService, getIssueEntityDao, getIssueService, getJumpServerGroupEntityDao, getMailService, getMetaDataEntityDao, getPamSecurityHandlerService, getPrincipal, getRoleAccountEntityDao, getRoleEntityDao, getServerEntityDao, getSignalService, getSystemEntityDao, getTaskEntityDao, getUserAccountEntityDao, getUserAccounts, getUserDomainEntityDao, getUserDomainService, getUserEntityDao, getUserGrantedAccountIds, getUserGrantedAccounts, getUserGrantedAccounts, getUserService, getUserTypeEntityDao, getVaultFolderEntityDao, getVaultService, grantAcccountToUser, guessAccountName, guessAccountNameForDomain, hasAccountSshKey, isAccountPasswordAvailable, isUpdatePending, isUpdatePendingExtended, listNonUserAccounts, listUserAccounts, load, needsAccount, predictAccountName, queryAccountPassword, queryAccountPasswordBypassPolicy, queryAccountSshKey, queryAccountSshKeyBypassPolicy, registerAccountReservationProcess, removeAccount, removeAccount, removeAccountAttribute, removeAccountSnapshot, renameAccount, sendAccountPassword, setAccountAccessEntityDao, setAccountAttributeEntityDao, setAccountEntityDao, setAccountMetadataEntityDao, setAccountPassword, setAccountPassword, setAccountSnapshotEntityDao, setAccountSshPrivateKey, setAccountTemporaryPassword, setApplicationService, setAsyncRunnerService, setAttributeValidationService, setAuditEntityDao, setAuditService, setAuthorizationService, setBpmEngine, setDispatcherService, setGroupEntityDao, setHostServiceEntityDao, setHPAccountPassword, setInternalPasswordService, setIssueEntityDao, setIssueService, setJumpServerGroupEntityDao, setMailService, setMetaDataEntityDao, setPamSecurityHandlerService, setRoleAccountEntityDao, setRoleEntityDao, setServerEntityDao, setSignalService, setSystemEntityDao, setTaskEntityDao, setUserAccountEntityDao, setUserDomainEntityDao, setUserDomainService, setUserEntityDao, setUserService, setUserTypeEntityDao, setVaultFolderEntityDao, setVaultService, synchronizeAccount, updateAccount, updateAccount2, updateAccountAttribute, updateAccountLastUpdate, updateAccountPasswordDate, updateAccountPasswordDate2
-
-
-
-
Method Detail
-
handleListUserAccounts
protected List<com.soffid.iam.api.UserAccount> handleListUserAccounts(com.soffid.iam.api.User usuari) throws Exception
- Specified by:
handleListUserAccounts
in classAccountServiceBase
- Throws:
Exception
-
handleCreateAccount
protected com.soffid.iam.api.UserAccount handleCreateAccount(com.soffid.iam.api.User usuari, com.soffid.iam.api.System dispatcher, String name) throws Exception
- Specified by:
handleCreateAccount
in classAccountServiceBase
- Throws:
Exception
-
handleRemoveAccount
protected void handleRemoveAccount(com.soffid.iam.api.UserAccount account) throws Exception
- Specified by:
handleRemoveAccount
in classAccountServiceBase
- Throws:
Exception
-
handleListNonUserAccounts
protected List<com.soffid.iam.api.Account> handleListNonUserAccounts(com.soffid.iam.api.System dispatcher, String nom) throws Exception
- Specified by:
handleListNonUserAccounts
in classAccountServiceBase
- Throws:
Exception
-
handleCreateAccount
protected com.soffid.iam.api.Account handleCreateAccount(com.soffid.iam.api.Account account) throws Exception
- Specified by:
handleCreateAccount
in classAccountServiceBase
- Throws:
Exception
-
handleCreateAccount2
protected com.soffid.iam.api.Account handleCreateAccount2(com.soffid.iam.api.Account account) throws Exception
- Specified by:
handleCreateAccount2
in classAccountServiceBase
- Throws:
Exception
-
handleUpdateAccount2
protected com.soffid.iam.api.Account handleUpdateAccount2(com.soffid.iam.api.Account account) throws Exception
- Specified by:
handleUpdateAccount2
in classAccountServiceBase
- Throws:
Exception
-
handleUpdateAccount
protected com.soffid.iam.api.Account handleUpdateAccount(com.soffid.iam.api.Account account) throws Exception
- Specified by:
handleUpdateAccount
in classAccountServiceBase
- Throws:
Exception
-
handleRemoveAccount
protected void handleRemoveAccount(com.soffid.iam.api.Account account) throws Exception
- Specified by:
handleRemoveAccount
in classAccountServiceBase
- Throws:
Exception
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
handleFindAccount
protected com.soffid.iam.api.Account handleFindAccount(String accountName, String dispatcherName) throws Exception
- Specified by:
handleFindAccount
in classAccountServiceBase
- Throws:
Exception
-
handleFindAccount
protected com.soffid.iam.api.Account handleFindAccount(String accountAndDispatcher) throws Exception
- Specified by:
handleFindAccount
in classAccountServiceBase
- Throws:
Exception
-
handleFindUsersAccounts
protected List<com.soffid.iam.api.UserAccount> handleFindUsersAccounts(String userName, String dispatcherName) throws Exception
- Specified by:
handleFindUsersAccounts
in classAccountServiceBase
- Throws:
Exception
-
handleGenerateUserAccounts
protected void handleGenerateUserAccounts(String user) throws Exception
- Specified by:
handleGenerateUserAccounts
in classAccountServiceBase
- Throws:
Exception
-
handleFindUserAccountsByDomain
protected List<com.soffid.iam.api.UserAccount> handleFindUserAccountsByDomain(String user, String passwordDomain) throws Exception
- Specified by:
handleFindUserAccountsByDomain
in classAccountServiceBase
- Throws:
Exception
-
handleRenameAccount
protected void handleRenameAccount(com.soffid.iam.api.Account account) throws Exception
- Specified by:
handleRenameAccount
in classAccountServiceBase
- Throws:
Exception
-
handleGuessAccountName
protected String handleGuessAccountName(String userName, String dispatcherName) throws Exception
- Specified by:
handleGuessAccountName
in classAccountServiceBase
- Throws:
Exception
-
handleNeedsAccount
protected boolean handleNeedsAccount(String userName, String dispatcherName) throws Exception
- Specified by:
handleNeedsAccount
in classAccountServiceBase
- Throws:
Exception
-
handleFindAccountsByCriteria
protected List<com.soffid.iam.api.Account> handleFindAccountsByCriteria(es.caib.seycon.ng.comu.AccountCriteria criteria) throws Exception
- Specified by:
handleFindAccountsByCriteria
in classAccountServiceBase
- Throws:
Exception
-
handleGetAccountUsers
public Collection<String> handleGetAccountUsers(com.soffid.iam.api.Account account) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
handleGetAccountUsers
in classAccountServiceBase
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetAccountUsers
public Collection<String> handleGetAccountUsers(com.soffid.iam.api.Account account, es.caib.seycon.ng.comu.AccountAccessLevelEnum level) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
handleGetAccountUsers
in classAccountServiceBase
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetUserGrantedAccounts
protected Collection<com.soffid.iam.api.Account> handleGetUserGrantedAccounts(com.soffid.iam.api.User usuari) throws Exception
- Specified by:
handleGetUserGrantedAccounts
in classAccountServiceBase
- Throws:
Exception
-
handleGetUserGrantedAccountIds
protected Collection<Long> handleGetUserGrantedAccountIds(com.soffid.iam.api.User usuari) throws Exception
- Specified by:
handleGetUserGrantedAccountIds
in classAccountServiceBase
- Throws:
Exception
-
handleUpdateAccountLastUpdate
protected void handleUpdateAccountLastUpdate(com.soffid.iam.api.Account account) throws Exception
- Specified by:
handleUpdateAccountLastUpdate
in classAccountServiceBase
- Throws:
Exception
-
handleUpdateAccountPasswordDate
protected void handleUpdateAccountPasswordDate(com.soffid.iam.api.Account account, Long passwordTerm) throws Exception
- Specified by:
handleUpdateAccountPasswordDate
in classAccountServiceBase
- Throws:
Exception
-
handleUpdateAccountPasswordDate2
protected void handleUpdateAccountPasswordDate2(com.soffid.iam.api.Account account, Date passwordTerm) throws Exception
- Specified by:
handleUpdateAccountPasswordDate2
in classAccountServiceBase
- Throws:
Exception
-
handleQueryAccountPassword
protected com.soffid.iam.api.Password handleQueryAccountPassword(com.soffid.iam.api.Account account) throws Exception
- Specified by:
handleQueryAccountPassword
in classAccountServiceBase
- Throws:
Exception
-
handleQueryAccountPasswordBypassPolicy
protected com.soffid.iam.api.Password handleQueryAccountPasswordBypassPolicy(long accountId, es.caib.seycon.ng.comu.AccountAccessLevelEnum level) throws es.caib.seycon.ng.exception.InternalErrorException, Exception
- Specified by:
handleQueryAccountPasswordBypassPolicy
in classAccountServiceBase
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
Exception
-
getPassword
public com.soffid.iam.api.Password getPassword(es.caib.seycon.ng.comu.AccountAccessLevelEnum level, com.soffid.iam.api.User usuari, AccountEntity acc, String url, String auth) throws IOException, es.caib.seycon.ng.exception.InternalErrorException
- Throws:
IOException
es.caib.seycon.ng.exception.InternalErrorException
-
handleSetAccountPassword
protected void handleSetAccountPassword(com.soffid.iam.api.Account account, com.soffid.iam.api.Password password) throws Exception
- Specified by:
handleSetAccountPassword
in classAccountServiceBase
- Throws:
Exception
-
handleSetAccountPassword
protected com.soffid.iam.api.Password handleSetAccountPassword(com.soffid.iam.api.Account account, com.soffid.iam.api.Password password, boolean temporary, boolean online) throws Exception
- Specified by:
handleSetAccountPassword
in classAccountServiceBase
- Throws:
Exception
-
handleSetHPAccountPassword
protected boolean handleSetHPAccountPassword(com.soffid.iam.api.Account account, com.soffid.iam.api.Password password, Date date, boolean force) throws Exception
- Specified by:
handleSetHPAccountPassword
in classAccountServiceBase
- Throws:
Exception
-
handleGetUserAccounts
public Collection<com.soffid.iam.api.UserAccount> handleGetUserAccounts(com.soffid.iam.api.User usuari) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
handleGetUserAccounts
in classAccountServiceBase
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleLoad
protected com.soffid.iam.api.Account handleLoad(Long identifier) throws Exception
- Specified by:
handleLoad
in classAccountServiceBase
- Throws:
Exception
-
handleIsUpdatePending
protected boolean handleIsUpdatePending(com.soffid.iam.api.Account account) throws Exception
- Specified by:
handleIsUpdatePending
in classAccountServiceBase
- Throws:
Exception
-
handleIsUpdatePendingExtended
protected int handleIsUpdatePendingExtended(com.soffid.iam.api.Account account) throws Exception
- Specified by:
handleIsUpdatePendingExtended
in classAccountServiceBase
- Throws:
Exception
-
handleFindAccountsNearToExpire
protected List<com.soffid.iam.api.Account> handleFindAccountsNearToExpire(Date currentDate, Date limitDate, Collection<es.caib.seycon.ng.comu.AccountType> accTypes, Collection<com.soffid.iam.api.UserType> userTypes) throws Exception
- Specified by:
handleFindAccountsNearToExpire
in classAccountServiceBase
- Throws:
Exception
-
handleGetHPAccountOwner
protected com.soffid.iam.api.User handleGetHPAccountOwner(com.soffid.iam.api.Account account) throws Exception
- Specified by:
handleGetHPAccountOwner
in classAccountServiceBase
- Throws:
Exception
-
handleCheckinHPAccount
protected void handleCheckinHPAccount(com.soffid.iam.api.Account account) throws Exception
- Specified by:
handleCheckinHPAccount
in classAccountServiceBase
- Throws:
Exception
-
handleCheckinHPAccounts
protected void handleCheckinHPAccounts() throws Exception
- Specified by:
handleCheckinHPAccounts
in classAccountServiceBase
- Throws:
Exception
-
handleGetUserGrantedAccounts
protected Collection<com.soffid.iam.api.Account> handleGetUserGrantedAccounts(com.soffid.iam.api.User usuari, es.caib.seycon.ng.comu.AccountAccessLevelEnum level) throws Exception
- Specified by:
handleGetUserGrantedAccounts
in classAccountServiceBase
- Throws:
Exception
-
handleGetAccountAttributes
protected List<com.soffid.iam.api.UserData> handleGetAccountAttributes(com.soffid.iam.api.Account acc) throws Exception
- Specified by:
handleGetAccountAttributes
in classAccountServiceBase
- Throws:
Exception
-
handleCreateAccountAttribute
protected com.soffid.iam.api.UserData handleCreateAccountAttribute(com.soffid.iam.api.UserData attribute) throws Exception
- Specified by:
handleCreateAccountAttribute
in classAccountServiceBase
- Throws:
Exception
-
handleUpdateAccountAttribute
protected com.soffid.iam.api.UserData handleUpdateAccountAttribute(com.soffid.iam.api.UserData attribute) throws Exception
- Specified by:
handleUpdateAccountAttribute
in classAccountServiceBase
- Throws:
Exception
-
handleRemoveAccountAttribute
protected void handleRemoveAccountAttribute(com.soffid.iam.api.UserData attribute) throws Exception
- Specified by:
handleRemoveAccountAttribute
in classAccountServiceBase
- Throws:
Exception
-
handleFindAccountById
protected com.soffid.iam.api.Account handleFindAccountById(long id) throws Exception
- Specified by:
handleFindAccountById
in classAccountServiceBase
- Throws:
Exception
-
handleFindAccountByJsonQuery
protected Collection<com.soffid.iam.api.Account> handleFindAccountByJsonQuery(String query) throws es.caib.seycon.ng.exception.InternalErrorException, Exception
- Specified by:
handleFindAccountByJsonQuery
in classAccountServiceBase
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
Exception
-
handleFindAccountByJsonQuery
protected com.soffid.iam.api.PagedResult handleFindAccountByJsonQuery(String query, Integer first, Integer max) throws es.caib.seycon.ng.exception.InternalErrorException, Exception
- Specified by:
handleFindAccountByJsonQuery
in classAccountServiceBase
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
Exception
-
handleFindAccountByJsonQueryAsync
protected com.soffid.iam.api.AsyncList<com.soffid.iam.api.Account> handleFindAccountByJsonQueryAsync(String query) throws Exception
- Specified by:
handleFindAccountByJsonQueryAsync
in classAccountServiceBase
- Throws:
Exception
-
findByJsonQuery
protected com.soffid.iam.api.PagedResult<com.soffid.iam.api.Account> findByJsonQuery(com.soffid.iam.api.AsyncList<com.soffid.iam.api.Account> result, String query, CriteriaSearchConfiguration cs) throws Exception
- Throws:
Exception
-
handleFindAccountByText
protected Collection<com.soffid.iam.api.Account> handleFindAccountByText(String text) throws Exception
- Specified by:
handleFindAccountByText
in classAccountServiceBase
- Throws:
Exception
-
handleFindAccountByTextAsync
protected com.soffid.iam.api.AsyncList<com.soffid.iam.api.Account> handleFindAccountByTextAsync(String text) throws Exception
- Specified by:
handleFindAccountByTextAsync
in classAccountServiceBase
- Throws:
Exception
-
handlePredictAccountName
protected String handlePredictAccountName(Long userId, String dispatcher, Long domainId) throws Exception
- Specified by:
handlePredictAccountName
in classAccountServiceBase
- Throws:
Exception
-
handleFindAccountNames
protected Collection<String> handleFindAccountNames(String system) throws Exception
- Specified by:
handleFindAccountNames
in classAccountServiceBase
- Throws:
Exception
-
handleGuessAccountNameForDomain
protected String handleGuessAccountNameForDomain(String userName, String domainName) throws Exception
- Specified by:
handleGuessAccountNameForDomain
in classAccountServiceBase
- Throws:
Exception
-
handleSetAccountTemporaryPassword
public void handleSetAccountTemporaryPassword(com.soffid.iam.api.Account account, com.soffid.iam.api.Password password) throws Exception
- Specified by:
handleSetAccountTemporaryPassword
in classAccountServiceBase
- Throws:
Exception
-
handleGenerateAccountTemporaryPassword
public com.soffid.iam.api.Password handleGenerateAccountTemporaryPassword(com.soffid.iam.api.Account account) throws Exception
- Specified by:
handleGenerateAccountTemporaryPassword
in classAccountServiceBase
- Throws:
Exception
-
handleGenerateAccountPassword
public com.soffid.iam.api.Password handleGenerateAccountPassword(com.soffid.iam.api.Account account) throws Exception
- Specified by:
handleGenerateAccountPassword
in classAccountServiceBase
- Throws:
Exception
-
handleFindSharedAccountsByUser
protected List<com.soffid.iam.api.Account> handleFindSharedAccountsByUser(String userName) throws Exception
- Specified by:
handleFindSharedAccountsByUser
in classAccountServiceBase
- Throws:
Exception
-
handleFindSharedAccountsHistoryByUser
protected List<com.soffid.iam.api.AccountHistory> handleFindSharedAccountsHistoryByUser(String userName) throws Exception
- Specified by:
handleFindSharedAccountsHistoryByUser
in classAccountServiceBase
- Throws:
Exception
-
handleSynchronizeAccount
protected void handleSynchronizeAccount(String accountName, String system) throws Exception
- Specified by:
handleSynchronizeAccount
in classAccountServiceBase
- Throws:
Exception
-
handleCheckPasswordSynchronizationStatus
protected com.soffid.iam.api.PasswordValidation handleCheckPasswordSynchronizationStatus(com.soffid.iam.api.Account account) throws Exception
- Specified by:
handleCheckPasswordSynchronizationStatus
in classAccountServiceBase
- Throws:
Exception
-
getAccountSynchronizationStatus
public com.soffid.iam.api.PasswordValidation getAccountSynchronizationStatus(com.soffid.iam.api.Account account, String url, String auth) throws IOException, es.caib.seycon.ng.exception.InternalErrorException
- Throws:
IOException
es.caib.seycon.ng.exception.InternalErrorException
-
handleIsAccountPasswordAvailable
protected boolean handleIsAccountPasswordAvailable(long accountId) throws Exception
- Specified by:
handleIsAccountPasswordAvailable
in classAccountServiceBase
- Throws:
Exception
-
handleFindAccountByTextAndJsonQueryAsync
protected com.soffid.iam.api.AsyncList<com.soffid.iam.api.Account> handleFindAccountByTextAndJsonQueryAsync(String text, String jsonQuery) throws Exception
- Specified by:
handleFindAccountByTextAndJsonQueryAsync
in classAccountServiceBase
- Throws:
Exception
-
handleFindAccountByTextAndJsonQuery
protected com.soffid.iam.api.PagedResult<com.soffid.iam.api.Account> handleFindAccountByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize) throws Exception
- Specified by:
handleFindAccountByTextAndJsonQuery
in classAccountServiceBase
- Throws:
Exception
-
handleGetActiveTasks
protected Collection<com.soffid.iam.api.SyncAgentTaskLog> handleGetActiveTasks(com.soffid.iam.api.Account account) throws Exception
- Specified by:
handleGetActiveTasks
in classAccountServiceBase
- Throws:
Exception
-
handleGrantAcccountToUser
protected void handleGrantAcccountToUser(com.soffid.iam.api.Account account, String user, Long processId, Date until) throws Exception
- Specified by:
handleGrantAcccountToUser
in classAccountServiceBase
- Throws:
Exception
-
handleRegisterAccountReservationProcess
protected void handleRegisterAccountReservationProcess(com.soffid.iam.api.Account account, String user, Long processId) throws Exception
- Specified by:
handleRegisterAccountReservationProcess
in classAccountServiceBase
- Throws:
Exception
-
handleFindAccountServices
protected Collection<com.soffid.iam.api.HostService> handleFindAccountServices(com.soffid.iam.api.Account account) throws Exception
- Specified by:
handleFindAccountServices
in classAccountServiceBase
- Throws:
Exception
-
handleRemoveAccountSnapshot
protected com.soffid.iam.api.Account handleRemoveAccountSnapshot(com.soffid.iam.api.Account account) throws Exception
- Specified by:
handleRemoveAccountSnapshot
in classAccountServiceBase
- Throws:
Exception
-
handleGenerateAccountSshPrivateKey
protected com.soffid.iam.api.Account handleGenerateAccountSshPrivateKey(com.soffid.iam.api.Account account) throws Exception
- Specified by:
handleGenerateAccountSshPrivateKey
in classAccountServiceBase
- Throws:
Exception
-
handleSetAccountSshPrivateKey
protected com.soffid.iam.api.Account handleSetAccountSshPrivateKey(com.soffid.iam.api.Account account, String privateKey) throws Exception
- Specified by:
handleSetAccountSshPrivateKey
in classAccountServiceBase
- Throws:
Exception
-
handleQueryAccountSshKey
protected com.soffid.iam.api.Password handleQueryAccountSshKey(com.soffid.iam.api.Account account) throws Exception
- Specified by:
handleQueryAccountSshKey
in classAccountServiceBase
- Throws:
Exception
-
handleQueryAccountSshKeyBypassPolicy
protected com.soffid.iam.api.Password handleQueryAccountSshKeyBypassPolicy(long accountId, es.caib.seycon.ng.comu.AccountAccessLevelEnum level) throws es.caib.seycon.ng.exception.InternalErrorException, Exception
- Specified by:
handleQueryAccountSshKeyBypassPolicy
in classAccountServiceBase
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
Exception
-
getSshKey
public com.soffid.iam.api.Password getSshKey(es.caib.seycon.ng.comu.AccountAccessLevelEnum level, com.soffid.iam.api.User usuari, AccountEntity acc, String url, String auth) throws IOException, es.caib.seycon.ng.exception.InternalErrorException
- Throws:
IOException
es.caib.seycon.ng.exception.InternalErrorException
-
handleHasAccountSshKey
protected boolean handleHasAccountSshKey(com.soffid.iam.api.Account account) throws Exception
- Specified by:
handleHasAccountSshKey
in classAccountServiceBase
- Throws:
Exception
-
handleSendAccountPassword
protected void handleSendAccountPassword(com.soffid.iam.api.Account account) throws Exception
- Specified by:
handleSendAccountPassword
in classAccountServiceBase
- Throws:
Exception
-
handleDisableAccounts
protected com.soffid.iam.api.AsyncProcessTracker handleDisableAccounts(String scimQuery, List<com.soffid.iam.api.DisableObjectRule> rules) throws Exception
- Specified by:
handleDisableAccounts
in classAccountServiceBase
- Throws:
Exception
-
handleDisableAccountsPreview
protected com.soffid.iam.api.AsyncProcessTracker handleDisableAccountsPreview(String scimQuery, List<com.soffid.iam.api.DisableObjectRule> rules, List<Object[]> actions) throws Exception
- Specified by:
handleDisableAccountsPreview
in classAccountServiceBase
- Throws:
Exception
-
-