Package com.soffid.iam.service
Interface AccountService
-
public interface AccountServiceService AccountService
-
-
Field Summary
Fields Modifier and Type Field Description static StringREMOTE_PATHstatic StringSERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcheckinHPAccount(Account account)Operation checkinHPAccount Unlocks a high privileged accountvoidcheckinHPAccounts()Operation checkinHPAccounts Unlocks expired high privileged accountsPasswordValidationcheckPasswordSynchronizationStatus(Account account)Operation checkPasswordSynchronizationStatusAccountcreateAccount(Account account)Operation createAccount Creates a shared accountUserAccountcreateAccount(User usuari, System dispatcher, String name)Operation createAccountAccountcreateAccount2(Account account)Operation createAccount2 Creates a shared account, including its attributesUserDatacreateAccountAttribute(UserData attribute)Operation createAccountAttribute Creates an account attributesAsyncProcessTrackerdisableAccounts(String scimQuery, List<DisableObjectRule> rules)Operation disableAccountsAsyncProcessTrackerdisableAccountsPreview(String scimQuery, List<DisableObjectRule> rules, List<Object[]> actions)Operation disableAccountsPreviewAccountfindAccount(String accountAndDispatcher)Operation findAccount Finds an account by name and systemAccountfindAccount(String accountName, String dispatcherName)Operation findAccount Finds an account by name and systemAccountfindAccountById(long id)Operation findAccountById Finds an account by idCollection<Account>findAccountByJsonQuery(String query)Operation findAccountByJsonQueryPagedResult<Account>findAccountByJsonQuery(String query, Integer first, Integer num)Operation findAccountByJsonQueryAsyncList<Account>findAccountByJsonQueryAsync(String query)Operation findAccountByJsonQueryAsyncCollection<Account>findAccountByText(String text)Operation findAccountByTextPagedResult<Account>findAccountByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize)Operation findAccountByTextAndJsonQueryAsyncList<Account>findAccountByTextAndJsonQueryAsync(String text, String jsonQuery)Operation findAccountByTextAndJsonQueryAsyncAsyncList<Account>findAccountByTextAsync(String text)Operation findAccountByTextAsyncCollection<String>findAccountNames(String system)Operation findAccountNamesList<Account>findAccountsByCriteria(AccountCriteria criteria)Operation findAccountsByCriteriaCollection<HostService>findAccountServices(Account account)Operation findAccountServicesList<Account>findAccountsNearToExpire(Date currentDate, Date limitDate, Collection<AccountType> accTypes, Collection<UserType> userTypes)Operation findAccountsNearToExpire Gets accounts near to expireList<Account>findSharedAccountsByUser(String userName)Operation findSharedAccountsByUser Gets the non single-user accounts for a userList<AccountHistory>findSharedAccountsHistoryByUser(String userName)Operation findSharedAccountsHistoryByUser Gets the non single-user accounts history for a userList<UserAccount>findUserAccountsByDomain(String user, String passwordDomain)Operation findUserAccountsByDomain Find the user accounts for a user and password domainList<UserAccount>findUsersAccounts(String userName, String dispatcherName)Operation findUsersAccounts Gets the accounts for a user on a single system namePasswordgenerateAccountPassword(Account account)Operation generateAccountPassword Generates a password for the accountAccountgenerateAccountSshPrivateKey(Account account)Operation generateAccountSshPrivateKey Stores the account SSH private keyPasswordgenerateAccountTemporaryPassword(Account account)Operation generateAccountTemporaryPassword Generates a temporary password for the accountvoidgenerateUserAccounts(String user)Operation generateUserAccounts Creates user accounts depending on user domain rulesList<UserData>getAccountAttributes(Account acc)Operation getAccountAttributes Gets account attributesCollection<String>getAccountUsers(Account account)Operation getAccountUsers Gets the users than currently owns the account.Collection<String>getAccountUsers(Account account, AccountAccessLevelEnum level)Operation getAccountUsers Gets the users than currently matches the desired access level for the account.Collection<SyncAgentTaskLog>getActiveTasks(Account account)Operation getActiveTasksUsergetHPAccountOwner(Account account)Operation getHPAccountOwner Gets the current privileged account ownerCollection<UserAccount>getUserAccounts(User usuari)Operation getUserAccounts Gets the account a user hasCollection<Long>getUserGrantedAccountIds(User usuari)Operation getUserGrantedAccountIds Gets the users than currently can use the account from consoleCollection<Account>getUserGrantedAccounts(User usuari)Operation getUserGrantedAccounts Gets the users than currently can use the account from consoleCollection<Account>getUserGrantedAccounts(User usuari, AccountAccessLevelEnum level)Operation getUserGrantedAccounts Gets the users than currently can use the account with the desired access levelvoidgrantAcccountToUser(Account account, String user, Long processId, Date until)Operation grantAcccountToUserStringguessAccountName(String userName, String dispatcherName)Operation guessAccountName Generates the account name for a user and systemStringguessAccountNameForDomain(String userName, String domainName)Operation guessAccountNameForDomain Generates the account name for a user domainbooleanhasAccountSshKey(Account account)Operation hasAccountSshKey Gets the account passwordbooleanisAccountPasswordAvailable(long accountId)Operation isAccountPasswordAvailable Checks if there is a password availablebooleanisUpdatePending(Account account)Operation isUpdatePending Identifies if there is any pending change to applyintisUpdatePendingExtended(Account account)Operation isUpdatePendingExtended Identifies if there is any pending change.List<Account>listNonUserAccounts(System dispatcher, String nom)Operation listNonUserAccounts Search shareds account on a systemList<UserAccount>listUserAccounts(User usuari)Operation listUserAccounts Gets the accounts bound to this userAccountload(Long identifier)Operation load Gets an account by idbooleanneedsAccount(String userName, String dispatcherName)Operation needsAccount Checks if an account should be created for a user and systemStringpredictAccountName(Long userId, String dispatcher, Long domainId)Operation predictAccountNamePasswordqueryAccountPassword(Account account)Operation queryAccountPassword Gets the account passwordPasswordqueryAccountPasswordBypassPolicy(long accountId, AccountAccessLevelEnum level)Operation queryAccountPasswordBypassPolicy Gets the account password bypassing passowrd policy.PasswordqueryAccountSshKey(Account account)Operation queryAccountSshKey Gets the account passwordPasswordqueryAccountSshKeyBypassPolicy(long accountId, AccountAccessLevelEnum level)Operation queryAccountSshKeyBypassPolicy Gets the account password bypassing passowrd policy.voidregisterAccountReservationProcess(Account account, String user, Long processId)Operation registerAccountReservationProcessvoidremoveAccount(Account account)Operation removeAccount Removes a shared accountvoidremoveAccount(UserAccount account)Operation removeAccountvoidremoveAccountAttribute(UserData attribute)Operation removeAccountAttribute Deletes an account attributesAccountremoveAccountSnapshot(Account account)Operation removeAccountSnapshotvoidrenameAccount(Account account)Operation renameAccount Renames a user accountvoidsendAccountPassword(Account account)Operation sendAccountPassword Sends the current account password back to the target systemvoidsetAccountPassword(Account account, Password password)Operation setAccountPassword Sets the account passwordPasswordsetAccountPassword(Account account, Password password, boolean temporary, boolean online)Operation setAccountPassword Sets the account password.AccountsetAccountSshPrivateKey(Account account, String privateKey)Operation setAccountSshPrivateKey Stores the account SSH private keyvoidsetAccountTemporaryPassword(Account account, Password password)Operation setAccountTemporaryPassword Sets the account temporary passwordbooleansetHPAccountPassword(Account account, Password password, Date untilDate, boolean force)Operation setHPAccountPassword Sets the high privileged account password.voidsynchronizeAccount(String accountName, String system)Operation synchronizeAccountAccountupdateAccount(Account account)Operation updateAccount Updates a shared accountAccountupdateAccount2(Account account)Operation updateAccount2 Updates a shared account, including its attributesUserDataupdateAccountAttribute(UserData attribute)Operation updateAccountAttribute Updates an account attributesvoidupdateAccountLastUpdate(Account account)Operation updateAccountLastUpdate Updates the accounts last update propertyvoidupdateAccountPasswordDate(Account account, Long passwordTerm)Operation updateAccountPasswordDate Updates the account password propertyvoidupdateAccountPasswordDate2(Account account, Date expirationDate)Operation updateAccountPasswordDate2 Updates account password set and expiration
-
-
-
Field Detail
-
REMOTE_PATH
static final String REMOTE_PATH
- See Also:
- Constant Field Values
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
hasAccountSshKey
boolean hasAccountSshKey(Account account) throws InternalErrorException, InternalErrorException
Operation hasAccountSshKey Gets the account password- Parameters:
account-- Returns:
- Throws:
InternalErrorException
-
isAccountPasswordAvailable
boolean isAccountPasswordAvailable(long accountId) throws InternalErrorExceptionOperation isAccountPasswordAvailable Checks if there is a password available- Parameters:
accountId-- Returns:
- Throws:
InternalErrorException
-
isUpdatePending
boolean isUpdatePending(Account account) throws InternalErrorException, InternalErrorException
Operation isUpdatePending Identifies if there is any pending change to apply- Parameters:
account-- Returns:
- Throws:
InternalErrorException
-
needsAccount
boolean needsAccount(String userName, String dispatcherName) throws InternalErrorException, InternalErrorException
Operation needsAccount Checks if an account should be created for a user and system- Parameters:
userName-dispatcherName-- Returns:
- Throws:
InternalErrorException
-
setHPAccountPassword
boolean setHPAccountPassword(Account account, Password password, Date untilDate, boolean force) throws InternalErrorException, InternalErrorException
Operation setHPAccountPassword Sets the high privileged account password. Returns false if the action is waiting for approval- Parameters:
account-password-untilDate-force-- Returns:
- Throws:
InternalErrorException
-
findAccountByJsonQueryAsync
AsyncList<Account> findAccountByJsonQueryAsync(String query) throws InternalErrorException, InternalErrorException
Operation findAccountByJsonQueryAsync- Parameters:
query-- Returns:
- Throws:
InternalErrorException
-
findAccountByTextAndJsonQueryAsync
AsyncList<Account> findAccountByTextAndJsonQueryAsync(String text, String jsonQuery) throws InternalErrorException
Operation findAccountByTextAndJsonQueryAsync- Parameters:
text-jsonQuery-- Returns:
- Throws:
InternalErrorException
-
findAccountByTextAsync
AsyncList<Account> findAccountByTextAsync(String text) throws InternalErrorException, InternalErrorException
Operation findAccountByTextAsync- Parameters:
text-- Returns:
- Throws:
InternalErrorException
-
disableAccounts
AsyncProcessTracker disableAccounts(String scimQuery, List<DisableObjectRule> rules) throws InternalErrorException
Operation disableAccounts- Parameters:
scimQuery-rules-- Returns:
- Throws:
InternalErrorException
-
disableAccountsPreview
AsyncProcessTracker disableAccountsPreview(String scimQuery, List<DisableObjectRule> rules, List<Object[]> actions) throws InternalErrorException
Operation disableAccountsPreview- Parameters:
scimQuery-rules-actions-- Returns:
- Throws:
InternalErrorException
-
findAccountByJsonQuery
PagedResult<Account> findAccountByJsonQuery(String query, Integer first, Integer num) throws InternalErrorException, InternalErrorException
Operation findAccountByJsonQuery- Parameters:
query-first-num-- Returns:
- Throws:
InternalErrorException
-
findAccountByTextAndJsonQuery
PagedResult<Account> findAccountByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize) throws InternalErrorException
Operation findAccountByTextAndJsonQuery- Parameters:
text-jsonQuery-start-pageSize-- Returns:
- Throws:
InternalErrorException
-
createAccount
Account createAccount(Account account) throws InternalErrorException, InternalErrorException, AccountAlreadyExistsException
Operation createAccount Creates a shared account- Parameters:
account-- Returns:
- Throws:
InternalErrorExceptionAccountAlreadyExistsException
-
createAccount2
Account createAccount2(Account account) throws InternalErrorException, InternalErrorException, AccountAlreadyExistsException
Operation createAccount2 Creates a shared account, including its attributes- Parameters:
account-- Returns:
- Throws:
InternalErrorExceptionAccountAlreadyExistsException
-
findAccount
Account findAccount(String accountAndDispatcher) throws InternalErrorException, InternalErrorException
Operation findAccount Finds an account by name and system- Parameters:
accountAndDispatcher-- Returns:
- Throws:
InternalErrorException
-
findAccount
Account findAccount(String accountName, String dispatcherName) throws InternalErrorException, InternalErrorException
Operation findAccount Finds an account by name and system- Parameters:
accountName-dispatcherName-- Returns:
- Throws:
InternalErrorException
-
findAccountById
Account findAccountById(long id) throws InternalErrorException, InternalErrorException
Operation findAccountById Finds an account by id- Parameters:
id-- Returns:
- Throws:
InternalErrorException
-
generateAccountSshPrivateKey
Account generateAccountSshPrivateKey(Account account) throws InternalErrorException, InternalErrorException
Operation generateAccountSshPrivateKey Stores the account SSH private key- Parameters:
account-- Returns:
- Throws:
InternalErrorException
-
load
Account load(Long identifier) throws InternalErrorException, InternalErrorException
Operation load Gets an account by id- Parameters:
identifier-- Returns:
- Throws:
InternalErrorException
-
removeAccountSnapshot
Account removeAccountSnapshot(Account account) throws InternalErrorException
Operation removeAccountSnapshot- Parameters:
account-- Returns:
- Throws:
InternalErrorException
-
setAccountSshPrivateKey
Account setAccountSshPrivateKey(Account account, String privateKey) throws InternalErrorException, InternalErrorException
Operation setAccountSshPrivateKey Stores the account SSH private key- Parameters:
account-privateKey-- Returns:
- Throws:
InternalErrorException
-
updateAccount
Account updateAccount(Account account) throws InternalErrorException, InternalErrorException, AccountAlreadyExistsException
Operation updateAccount Updates a shared account- Parameters:
account-- Returns:
- Throws:
InternalErrorExceptionAccountAlreadyExistsException
-
updateAccount2
Account updateAccount2(Account account) throws InternalErrorException, InternalErrorException, AccountAlreadyExistsException
Operation updateAccount2 Updates a shared account, including its attributes- Parameters:
account-- Returns:
- Throws:
InternalErrorExceptionAccountAlreadyExistsException
-
createAccountAttribute
UserData createAccountAttribute(UserData attribute) throws InternalErrorException
Operation createAccountAttribute Creates an account attributes- Parameters:
attribute-- Returns:
- Throws:
InternalErrorException
-
updateAccountAttribute
UserData updateAccountAttribute(UserData attribute) throws InternalErrorException
Operation updateAccountAttribute Updates an account attributes- Parameters:
attribute-- Returns:
- Throws:
InternalErrorException
-
generateAccountPassword
Password generateAccountPassword(Account account) throws InternalErrorException, InternalErrorException
Operation generateAccountPassword Generates a password for the account- Parameters:
account-- Returns:
- Throws:
InternalErrorException
-
generateAccountTemporaryPassword
Password generateAccountTemporaryPassword(Account account) throws InternalErrorException, InternalErrorException
Operation generateAccountTemporaryPassword Generates a temporary password for the account- Parameters:
account-- Returns:
- Throws:
InternalErrorException
-
queryAccountPassword
Password queryAccountPassword(Account account) throws InternalErrorException, InternalErrorException
Operation queryAccountPassword Gets the account password- Parameters:
account-- Returns:
- Throws:
InternalErrorException
-
queryAccountPasswordBypassPolicy
Password queryAccountPasswordBypassPolicy(long accountId, AccountAccessLevelEnum level) throws InternalErrorException
Operation queryAccountPasswordBypassPolicy Gets the account password bypassing passowrd policy. Used for SSO- Parameters:
accountId-level-- Returns:
- Throws:
InternalErrorException
-
queryAccountSshKey
Password queryAccountSshKey(Account account) throws InternalErrorException, InternalErrorException
Operation queryAccountSshKey Gets the account password- Parameters:
account-- Returns:
- Throws:
InternalErrorException
-
queryAccountSshKeyBypassPolicy
Password queryAccountSshKeyBypassPolicy(long accountId, AccountAccessLevelEnum level) throws InternalErrorException
Operation queryAccountSshKeyBypassPolicy Gets the account password bypassing passowrd policy. Used for SSO- Parameters:
accountId-level-- Returns:
- Throws:
InternalErrorException
-
setAccountPassword
Password setAccountPassword(Account account, Password password, boolean temporary, boolean online) throws InternalErrorException, InternalErrorException, BadPasswordException
Operation setAccountPassword Sets the account password. Advanced method to set it online or offline- Parameters:
account-password-temporary-online-- Returns:
- Throws:
InternalErrorExceptionBadPasswordException
-
checkPasswordSynchronizationStatus
PasswordValidation checkPasswordSynchronizationStatus(Account account) throws InternalErrorException, InternalErrorException
Operation checkPasswordSynchronizationStatus- Parameters:
account-- Returns:
- Throws:
InternalErrorException
-
createAccount
UserAccount createAccount(User usuari, System dispatcher, String name) throws InternalErrorException, InternalErrorException, NeedsAccountNameException, AccountAlreadyExistsException
Operation createAccount- Parameters:
usuari-dispatcher-name-- Returns:
- Throws:
InternalErrorExceptionNeedsAccountNameExceptionAccountAlreadyExistsException
-
getHPAccountOwner
User getHPAccountOwner(Account account) throws InternalErrorException, InternalErrorException
Operation getHPAccountOwner Gets the current privileged account owner- Parameters:
account-- Returns:
- Throws:
InternalErrorException
-
isUpdatePendingExtended
int isUpdatePendingExtended(Account account) throws InternalErrorException, InternalErrorException
Operation isUpdatePendingExtended Identifies if there is any pending change. 0 means no change pending, 1 task is on hald, 2 means synchronization in progress, 3 means error- Parameters:
account-- Returns:
- Throws:
InternalErrorException
-
guessAccountName
String guessAccountName(String userName, String dispatcherName) throws InternalErrorException, InternalErrorException
Operation guessAccountName Generates the account name for a user and system- Parameters:
userName-dispatcherName-- Returns:
- Throws:
InternalErrorException
-
guessAccountNameForDomain
String guessAccountNameForDomain(String userName, String domainName) throws InternalErrorException, InternalErrorException
Operation guessAccountNameForDomain Generates the account name for a user domain- Parameters:
userName-domainName-- Returns:
- Throws:
InternalErrorException
-
predictAccountName
String predictAccountName(Long userId, String dispatcher, Long domainId) throws InternalErrorException, InternalErrorException, NeedsAccountNameException, AccountAlreadyExistsException
Operation predictAccountName- Parameters:
userId-dispatcher-domainId-- Returns:
- Throws:
InternalErrorExceptionNeedsAccountNameExceptionAccountAlreadyExistsException
-
findAccountByJsonQuery
Collection<Account> findAccountByJsonQuery(String query) throws InternalErrorException, InternalErrorException
Operation findAccountByJsonQuery- Parameters:
query-- Returns:
- Throws:
InternalErrorException
-
findAccountByText
Collection<Account> findAccountByText(String text) throws InternalErrorException, InternalErrorException
Operation findAccountByText- Parameters:
text-- Returns:
- Throws:
InternalErrorException
-
findAccountNames
Collection<String> findAccountNames(String system) throws InternalErrorException, InternalErrorException
Operation findAccountNames- Parameters:
system-- Returns:
- Throws:
InternalErrorException
-
findAccountServices
Collection<HostService> findAccountServices(Account account) throws InternalErrorException
Operation findAccountServices- Parameters:
account-- Returns:
- Throws:
InternalErrorException
-
getAccountUsers
Collection<String> getAccountUsers(Account account) throws InternalErrorException, InternalErrorException
Operation getAccountUsers Gets the users than currently owns the account. For single user accounts, it's the single user. For privileged and shared accounts they are de acl members- Parameters:
account-- Returns:
- Throws:
InternalErrorException
-
getAccountUsers
Collection<String> getAccountUsers(Account account, AccountAccessLevelEnum level) throws InternalErrorException, InternalErrorException
Operation getAccountUsers Gets the users than currently matches the desired access level for the account. For single user accounts, it's the single user. For privileged and shared accounts they are de acl members- Parameters:
account-level-- Returns:
- Throws:
InternalErrorException
-
getActiveTasks
Collection<SyncAgentTaskLog> getActiveTasks(Account account) throws InternalErrorException
Operation getActiveTasks- Parameters:
account-- Returns:
- Throws:
InternalErrorException
-
getUserAccounts
Collection<UserAccount> getUserAccounts(User usuari) throws InternalErrorException, InternalErrorException
Operation getUserAccounts Gets the account a user has- Parameters:
usuari-- Returns:
- Throws:
InternalErrorException
-
getUserGrantedAccountIds
Collection<Long> getUserGrantedAccountIds(User usuari) throws InternalErrorException, InternalErrorException
Operation getUserGrantedAccountIds Gets the users than currently can use the account from console- Parameters:
usuari-- Returns:
- Throws:
InternalErrorException
-
getUserGrantedAccounts
Collection<Account> getUserGrantedAccounts(User usuari) throws InternalErrorException, InternalErrorException
Operation getUserGrantedAccounts Gets the users than currently can use the account from console- Parameters:
usuari-- Returns:
- Throws:
InternalErrorException
-
getUserGrantedAccounts
Collection<Account> getUserGrantedAccounts(User usuari, AccountAccessLevelEnum level) throws InternalErrorException, InternalErrorException
Operation getUserGrantedAccounts Gets the users than currently can use the account with the desired access level- Parameters:
usuari-level-- Returns:
- Throws:
InternalErrorException
-
findAccountsByCriteria
List<Account> findAccountsByCriteria(AccountCriteria criteria) throws InternalErrorException, InternalErrorException
Operation findAccountsByCriteria- Parameters:
criteria-- Returns:
- Throws:
InternalErrorException
-
findAccountsNearToExpire
List<Account> findAccountsNearToExpire(Date currentDate, Date limitDate, Collection<AccountType> accTypes, Collection<UserType> userTypes) throws InternalErrorException, InternalErrorException
Operation findAccountsNearToExpire Gets accounts near to expire- Parameters:
currentDate-limitDate-accTypes-userTypes-- Returns:
- Throws:
InternalErrorException
-
findSharedAccountsByUser
List<Account> findSharedAccountsByUser(String userName) throws InternalErrorException
Operation findSharedAccountsByUser Gets the non single-user accounts for a user- Parameters:
userName-- Returns:
- Throws:
InternalErrorException
-
findSharedAccountsHistoryByUser
List<AccountHistory> findSharedAccountsHistoryByUser(String userName) throws InternalErrorException
Operation findSharedAccountsHistoryByUser Gets the non single-user accounts history for a user- Parameters:
userName-- Returns:
- Throws:
InternalErrorException
-
findUsersAccounts
List<UserAccount> findUsersAccounts(String userName, String dispatcherName) throws InternalErrorException, InternalErrorException
Operation findUsersAccounts Gets the accounts for a user on a single system name- Parameters:
userName-dispatcherName-- Returns:
- Throws:
InternalErrorException
-
findUserAccountsByDomain
List<UserAccount> findUserAccountsByDomain(String user, String passwordDomain) throws InternalErrorException, InternalErrorException
Operation findUserAccountsByDomain Find the user accounts for a user and password domain- Parameters:
user-passwordDomain-- Returns:
- Throws:
InternalErrorException
-
getAccountAttributes
List<UserData> getAccountAttributes(Account acc) throws InternalErrorException
Operation getAccountAttributes Gets account attributes- Parameters:
acc-- Returns:
- Throws:
InternalErrorException
-
listNonUserAccounts
List<Account> listNonUserAccounts(System dispatcher, String nom) throws InternalErrorException, InternalErrorException
Operation listNonUserAccounts Search shareds account on a system- Parameters:
dispatcher-nom-- Returns:
- Throws:
InternalErrorException
-
listUserAccounts
List<UserAccount> listUserAccounts(User usuari) throws InternalErrorException, InternalErrorException
Operation listUserAccounts Gets the accounts bound to this user- Parameters:
usuari-- Returns:
- Throws:
InternalErrorException
-
checkinHPAccount
void checkinHPAccount(Account account) throws InternalErrorException, InternalErrorException
Operation checkinHPAccount Unlocks a high privileged account- Parameters:
account-- Throws:
InternalErrorException
-
checkinHPAccounts
void checkinHPAccounts() throws InternalErrorExceptionOperation checkinHPAccounts Unlocks expired high privileged accounts- Throws:
InternalErrorException
-
generateUserAccounts
void generateUserAccounts(String user) throws InternalErrorException, InternalErrorException
Operation generateUserAccounts Creates user accounts depending on user domain rules- Parameters:
user-- Throws:
InternalErrorException
-
removeAccount
void removeAccount(Account account) throws InternalErrorException, InternalErrorException
Operation removeAccount Removes a shared account- Parameters:
account-- Throws:
InternalErrorException
-
removeAccount
void removeAccount(UserAccount account) throws InternalErrorException, InternalErrorException
Operation removeAccount- Parameters:
account-- Throws:
InternalErrorException
-
removeAccountAttribute
void removeAccountAttribute(UserData attribute) throws InternalErrorException
Operation removeAccountAttribute Deletes an account attributes- Parameters:
attribute-- Throws:
InternalErrorException
-
renameAccount
void renameAccount(Account account) throws InternalErrorException, InternalErrorException, AccountAlreadyExistsException
Operation renameAccount Renames a user account- Parameters:
account-- Throws:
InternalErrorExceptionAccountAlreadyExistsException
-
sendAccountPassword
void sendAccountPassword(Account account) throws InternalErrorException, InternalErrorException, BadPasswordException
Operation sendAccountPassword Sends the current account password back to the target system- Parameters:
account-- Throws:
InternalErrorExceptionBadPasswordException
-
setAccountPassword
void setAccountPassword(Account account, Password password) throws InternalErrorException, InternalErrorException, BadPasswordException
Operation setAccountPassword Sets the account password- Parameters:
account-password-- Throws:
InternalErrorExceptionBadPasswordException
-
setAccountTemporaryPassword
void setAccountTemporaryPassword(Account account, Password password) throws InternalErrorException, InternalErrorException, BadPasswordException
Operation setAccountTemporaryPassword Sets the account temporary password- Parameters:
account-password-- Throws:
InternalErrorExceptionBadPasswordException
-
synchronizeAccount
void synchronizeAccount(String accountName, String system) throws InternalErrorException, InternalErrorException
Operation synchronizeAccount- Parameters:
accountName-system-- Throws:
InternalErrorException
-
updateAccountLastUpdate
void updateAccountLastUpdate(Account account) throws InternalErrorException, InternalErrorException
Operation updateAccountLastUpdate Updates the accounts last update property- Parameters:
account-- Throws:
InternalErrorException
-
updateAccountPasswordDate
void updateAccountPasswordDate(Account account, Long passwordTerm) throws InternalErrorException, InternalErrorException
Operation updateAccountPasswordDate Updates the account password property- Parameters:
account-passwordTerm-- Throws:
InternalErrorException
-
updateAccountPasswordDate2
void updateAccountPasswordDate2(Account account, Date expirationDate) throws InternalErrorException, InternalErrorException
Operation updateAccountPasswordDate2 Updates account password set and expiration- Parameters:
account-expirationDate-- Throws:
InternalErrorException
-
grantAcccountToUser
void grantAcccountToUser(Account account, String user, Long processId, Date until) throws InternalErrorException
Operation grantAcccountToUser- Parameters:
account-user-processId-until-- Throws:
InternalErrorException
-
registerAccountReservationProcess
void registerAccountReservationProcess(Account account, String user, Long processId) throws InternalErrorException
Operation registerAccountReservationProcess- Parameters:
account-user-processId-- Throws:
InternalErrorException
-
-