Package es.caib.seycon.ng.servei
Interface AccountService
-
public interface AccountService
Service AccountService
-
-
Field Summary
Fields Modifier and Type Field Description static String
REMOTE_PATH
static String
SERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
checkinHPAccount(Account account)
Operation checkinHPAccount Unlocks a high privileged accountvoid
checkinHPAccounts()
Operation checkinHPAccounts Unlocks expired high privileged accountsPasswordValidation
checkPasswordSynchronizationStatus(Account account)
Operation checkPasswordSynchronizationStatusAccount
createAccount(Account account)
Operation createAccount Creates a shared accountUserAccount
createAccount(Usuari usuari, Dispatcher dispatcher, String name)
Operation createAccountAccount
createAccount2(Account account)
Operation createAccount2 Creates a shared account, including its attributesDadaUsuari
createAccountAttribute(DadaUsuari attribute)
Operation createAccountAttribute Creates an account attributesAsyncProcessTracker
disableAccounts(String scimQuery, List<DisableObjectRule> rules)
Operation disableAccountsAsyncProcessTracker
disableAccountsPreview(String scimQuery, List<DisableObjectRule> rules, List<Object[]> actions)
Operation disableAccountsPreviewAccount
findAccount(String accountAndDispatcher)
Operation findAccount Finds an account by name and systemAccount
findAccount(String accountName, String dispatcherName)
Operation findAccount Finds an account by name and systemAccount
findAccountById(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<TipusUsuari> 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>
findUserAccounts(String userName, String dispatcherName)
Operation findUserAccounts Gets the accounts for a user on a single system nameList<UserAccount>
findUserAccountsByDomain(String user, String passwordDomain)
Operation findUserAccountsByDomain Find the user accounts for a user and password domainPassword
generateAccountPassword(Account account)
Operation generateAccountPassword Generates a password for the accountAccount
generateAccountSshPrivateKey(Account account)
Operation generateAccountSshPrivateKey Stores the account SSH private keyPassword
generateAccountTemporaryPassword(Account account)
Operation generateAccountTemporaryPassword Generates a temporary password for the accountvoid
generateUserAccounts(String user)
Operation generateUserAccounts Creates user accounts depending on user domain rulesString
gessAccountName(String userName, String dispatcherName)
Operation gessAccountName Generates the account name for a user and systemList<DadaUsuari>
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<SeyconAgentTaskLog>
getActiveTasks(Account account)
Operation getActiveTasksUsuari
getHPAccountOwner(Account account)
Operation getHPAccountOwner Gets the current privileged account ownerCollection<UserAccount>
getUserAccounts(Usuari usuari)
Operation getUserAccounts Gets the account a user hasCollection<Long>
getUserGrantedAccountIds(Usuari usuari)
Operation getUserGrantedAccountIds Gets the users than currently can use the account from consoleCollection<Account>
getUserGrantedAccounts(Usuari usuari)
Operation getUserGrantedAccounts Gets the users than currently can use the account from consoleCollection<Account>
getUserGrantedAccounts(Usuari usuari, AccountAccessLevelEnum level)
Operation getUserGrantedAccounts Gets the users than currently can use the account with the desired access levelvoid
grantAcccountToUser(Account account, String user, Long processId, Date until)
Operation grantAcccountToUserString
guessAccountNameForDomain(String userName, String domainName)
Operation guessAccountNameForDomain Generates the account name for a user domainboolean
hasAccountSshKey(Account account)
Operation hasAccountSshKey Gets the account passwordboolean
isAccountPasswordAvailable(long accountId)
Operation isAccountPasswordAvailable Checks if there is a password availableboolean
isUpdatePending(Account account)
Operation isUpdatePending Identifies if there is any pending change to applyint
isUpdatePendingExtended(Account account)
Operation isUpdatePendingExtended Identifies if there is any pending change.List<Account>
listNonUserAccounts(Dispatcher dispatcher, String nom)
Operation listNonUserAccounts Search shareds account on a systemList<UserAccount>
listUserAccounts(Usuari usuari)
Operation listUserAccounts Gets the accounts bound to this userAccount
load(Long identifier)
Operation load Gets an account by idboolean
needsAccount(String userName, String dispatcherName)
Operation needsAccount Checks if an account should be created for a user and systemString
predictAccountName(Long userId, String dispatcher, Long domainId)
Operation predictAccountNamePassword
queryAccountPassword(Account account)
Operation queryAccountPassword Gets the account passwordPassword
queryAccountPasswordBypassPolicy(long accountId, AccountAccessLevelEnum level)
Operation queryAccountPasswordBypassPolicy Gets the account password bypassing passowrd policy.Password
queryAccountSshKey(Account account)
Operation queryAccountSshKey Gets the account passwordPassword
queryAccountSshKeyBypassPolicy(long accountId, AccountAccessLevelEnum level)
Operation queryAccountSshKeyBypassPolicy Gets the account password bypassing passowrd policy.void
registerAccountReservationProcess(Account account, String user, Long processId)
Operation registerAccountReservationProcessvoid
removeAccount(Account account)
Operation removeAccount Removes a shared accountvoid
removeAccount(UserAccount account)
Operation removeAccountvoid
removeAccountAttribute(DadaUsuari attribute)
Operation removeAccountAttribute Deletes an account attributesAccount
removeAccountSnapshot(Account account)
Operation removeAccountSnapshotvoid
renameAccount(Account account)
Operation renameAccount Renames a user accountvoid
sendAccountPassword(Account account)
Operation sendAccountPassword Sends the current account password back to the target systemvoid
setAccountPassword(Account account, Password password)
Operation setAccountPassword Sets the account passwordPassword
setAccountPassword(Account account, Password password, boolean temporary, boolean online)
Operation setAccountPassword Sets the account password.Account
setAccountSshPrivateKey(Account account, String privateKey)
Operation setAccountSshPrivateKey Stores the account SSH private keyvoid
setAccountTemporaryPassword(Account account, Password password)
Operation setAccountTemporaryPassword Sets the account temporary passwordboolean
setHPAccountPassword(Account account, Password password, Date untilDate, boolean force)
Operation setHPAccountPassword Sets the high privileged account password.void
synchronizeAccount(String accountName, String system)
Operation synchronizeAccountAccount
updateAccount(Account account)
Operation updateAccount Updates a shared accountAccount
updateAccount2(Account account)
Operation updateAccount2 Updates a shared account, including its attributesDadaUsuari
updateAccountAttribute(DadaUsuari attribute)
Operation updateAccountAttribute Updates an account attributesvoid
updateAccountLastUpdate(Account account)
Operation updateAccountLastUpdate Updates the accounts last update propertyvoid
updateAccountPasswordDate(Account account, Long passwordTerm)
Operation updateAccountPasswordDate Updates the account password propertyvoid
updateAccountPasswordDate2(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 InternalErrorException
Operation 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:
InternalErrorException
AccountAlreadyExistsException
-
createAccount2
Account createAccount2(Account account) throws InternalErrorException, InternalErrorException, AccountAlreadyExistsException
Operation createAccount2 Creates a shared account, including its attributes- Parameters:
account
-- Returns:
- Throws:
InternalErrorException
AccountAlreadyExistsException
-
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:
InternalErrorException
AccountAlreadyExistsException
-
updateAccount2
Account updateAccount2(Account account) throws InternalErrorException, InternalErrorException, AccountAlreadyExistsException
Operation updateAccount2 Updates a shared account, including its attributes- Parameters:
account
-- Returns:
- Throws:
InternalErrorException
AccountAlreadyExistsException
-
createAccountAttribute
DadaUsuari createAccountAttribute(DadaUsuari attribute) throws InternalErrorException
Operation createAccountAttribute Creates an account attributes- Parameters:
attribute
-- Returns:
- Throws:
InternalErrorException
-
updateAccountAttribute
DadaUsuari updateAccountAttribute(DadaUsuari 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:
InternalErrorException
BadPasswordException
-
checkPasswordSynchronizationStatus
PasswordValidation checkPasswordSynchronizationStatus(Account account) throws InternalErrorException, InternalErrorException
Operation checkPasswordSynchronizationStatus- Parameters:
account
-- Returns:
- Throws:
InternalErrorException
-
createAccount
UserAccount createAccount(Usuari usuari, Dispatcher dispatcher, String name) throws InternalErrorException, InternalErrorException, NeedsAccountNameException, AccountAlreadyExistsException
Operation createAccount- Parameters:
usuari
-dispatcher
-name
-- Returns:
- Throws:
InternalErrorException
NeedsAccountNameException
AccountAlreadyExistsException
-
getHPAccountOwner
Usuari 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
-
gessAccountName
String gessAccountName(String userName, String dispatcherName) throws InternalErrorException, InternalErrorException
Operation gessAccountName 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:
InternalErrorException
NeedsAccountNameException
AccountAlreadyExistsException
-
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<SeyconAgentTaskLog> getActiveTasks(Account account) throws InternalErrorException
Operation getActiveTasks- Parameters:
account
-- Returns:
- Throws:
InternalErrorException
-
getUserAccounts
Collection<UserAccount> getUserAccounts(Usuari usuari) throws InternalErrorException, InternalErrorException
Operation getUserAccounts Gets the account a user has- Parameters:
usuari
-- Returns:
- Throws:
InternalErrorException
-
getUserGrantedAccountIds
Collection<Long> getUserGrantedAccountIds(Usuari 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(Usuari 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(Usuari 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<TipusUsuari> 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
-
findUserAccounts
List<UserAccount> findUserAccounts(String userName, String dispatcherName) throws InternalErrorException, InternalErrorException
Operation findUserAccounts 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<DadaUsuari> getAccountAttributes(Account acc) throws InternalErrorException
Operation getAccountAttributes Gets account attributes- Parameters:
acc
-- Returns:
- Throws:
InternalErrorException
-
listNonUserAccounts
List<Account> listNonUserAccounts(Dispatcher dispatcher, String nom) throws InternalErrorException, InternalErrorException
Operation listNonUserAccounts Search shareds account on a system- Parameters:
dispatcher
-nom
-- Returns:
- Throws:
InternalErrorException
-
listUserAccounts
List<UserAccount> listUserAccounts(Usuari 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 InternalErrorException
Operation 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(DadaUsuari 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:
InternalErrorException
AccountAlreadyExistsException
-
sendAccountPassword
void sendAccountPassword(Account account) throws InternalErrorException, InternalErrorException, BadPasswordException
Operation sendAccountPassword Sends the current account password back to the target system- Parameters:
account
-- Throws:
InternalErrorException
BadPasswordException
-
setAccountPassword
void setAccountPassword(Account account, Password password) throws InternalErrorException, InternalErrorException, BadPasswordException
Operation setAccountPassword Sets the account password- Parameters:
account
-password
-- Throws:
InternalErrorException
BadPasswordException
-
setAccountTemporaryPassword
void setAccountTemporaryPassword(Account account, Password password) throws InternalErrorException, InternalErrorException, BadPasswordException
Operation setAccountTemporaryPassword Sets the account temporary password- Parameters:
account
-password
-- Throws:
InternalErrorException
BadPasswordException
-
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
-
-