Package com.soffid.iam.base.service.ejb
Interface AccountService
public interface AccountService
EJB AccountService
-
Method Summary
Modifier and TypeMethodDescriptionvoidcheckinHPAccount(Account account) createAccount(Account account) createAccount(User usuari, System dispatcher, String name) createAccount2(Account account) createAccountAttribute(UserData attribute) disableAccounts(String scimQuery, List<DisableObjectRule> rules) disableAccountsPreview(String scimQuery, List<DisableObjectRule> rules, List<Object[]> actions) findAccount(String accountAndDispatcher) findAccount(String accountName, String dispatcherName) findAccountByExternalId(String externalId, String system) findAccountById(long id) com.soffid.zkdb.api.PagedResult<Account>findAccounts(com.soffid.zkdb.api.Query query) findAccountServices(Account account) findSharedAccountsByUser(String userName) findSharedAccountsHistoryByUser(String userName) findUserAccountsByDomain(String user, String passwordDomain) findUsersAccounts(String userName, String dispatcherName) generateAccountPassword(Account account) generateAccountSshPrivateKey(Account account) generateAccountTemporaryPassword(Account account) getHPAccountOwner(Account account) getUserAccounts(User usuari) getUserGrantedAccounts(User usuari) getUserGrantedAccounts(User usuari, AccountAccessLevelEnum level) guessAccountName(String userName, String dispatcherName) booleanhasAccountSshKey(Account account) booleanisAccountPasswordAvailable(long accountId) booleanisUpdatePending(Account account) intisUpdatePendingExtended(Account account) listAccountGrants(Account acc) listNonUserAccounts(System dispatcher, String nom) listUserAccounts(User usuari) booleanneedsAccount(String userName, String dispatcherName) queryAccountPassword(Account account) queryAccountSshKey(Account account) voidremoveAccount(Account account) voidremoveAccount(UserAccount account) voidremoveAccountAttribute(UserData attribute) voidremoveAccountSnapshot(Account account) voidrenameAccount(Account account) voidsendAccountPassword(Account account) voidsetAccountPassword(Account account, Password password) setAccountPassword(Account account, Password password, boolean temporary, boolean online) setAccountSshPrivateKey(Account account, String privateKey) voidsetAccountTemporaryPassword(Account account, Password password) booleansetHPAccountPassword(Account account, Password password, Date untilDate, boolean force) updateAccount(Account account) updateAccount2(Account account) updateAccountAttribute(UserData attribute)
-
Method Details
-
hasAccountSshKey
-
isAccountPasswordAvailable
- Throws:
InternalErrorException
-
isUpdatePending
-
needsAccount
boolean needsAccount(String userName, String dispatcherName) throws InternalErrorException, InternalErrorException -
setHPAccountPassword
boolean setHPAccountPassword(Account account, Password password, Date untilDate, boolean force) throws InternalErrorException, InternalErrorException -
generateAccountPassword
Password generateAccountPassword(Account account) throws InternalErrorException, InternalErrorException -
generateAccountTemporaryPassword
Password generateAccountTemporaryPassword(Account account) throws InternalErrorException, InternalErrorException -
queryAccountPassword
Password queryAccountPassword(Account account) throws InternalErrorException, InternalErrorException -
queryAccountSshKey
-
setAccountPassword
Password setAccountPassword(Account account, Password password, boolean temporary, boolean online) throws InternalErrorException, InternalErrorException, BadPasswordException -
checkPasswordSynchronizationStatus
PasswordValidation checkPasswordSynchronizationStatus(Account account) throws InternalErrorException, InternalErrorException -
createAccount
Account createAccount(Account account) throws InternalErrorException, InternalErrorException, AccountAlreadyExistsException -
createAccount2
Account createAccount2(Account account) throws InternalErrorException, InternalErrorException, AccountAlreadyExistsException -
findAccount
Account findAccount(String accountAndDispatcher) throws InternalErrorException, InternalErrorException -
findAccount
Account findAccount(String accountName, String dispatcherName) throws InternalErrorException, InternalErrorException -
findAccountByExternalId
Account findAccountByExternalId(String externalId, String system) throws InternalErrorException, InternalErrorException -
findAccountById
-
generateAccountSshPrivateKey
Account generateAccountSshPrivateKey(Account account) throws InternalErrorException, InternalErrorException -
removeAccountSnapshot
- Throws:
InternalErrorException
-
setAccountSshPrivateKey
Account setAccountSshPrivateKey(Account account, String privateKey) throws InternalErrorException, InternalErrorException -
updateAccount
Account updateAccount(Account account) throws InternalErrorException, InternalErrorException, AccountAlreadyExistsException -
updateAccount2
Account updateAccount2(Account account) throws InternalErrorException, InternalErrorException, AccountAlreadyExistsException -
disableAccounts
AsyncProcessTracker disableAccounts(String scimQuery, List<DisableObjectRule> rules) throws InternalErrorException - Throws:
InternalErrorException
-
disableAccountsPreview
AsyncProcessTracker disableAccountsPreview(String scimQuery, List<DisableObjectRule> rules, List<Object[]> actions) throws InternalErrorException - Throws:
InternalErrorException
-
getHPAccountOwner
-
createAccount
UserAccount createAccount(User usuari, System dispatcher, String name) throws InternalErrorException, InternalErrorException, NeedsAccountNameException, AccountAlreadyExistsException -
createAccountAttribute
- Throws:
InternalErrorException
-
updateAccountAttribute
- Throws:
InternalErrorException
-
findAccounts
com.soffid.zkdb.api.PagedResult<Account> findAccounts(com.soffid.zkdb.api.Query query) throws InternalErrorException, InternalErrorException -
isUpdatePendingExtended
-
guessAccountName
String guessAccountName(String userName, String dispatcherName) throws InternalErrorException, InternalErrorException -
findAccountServices
- Throws:
InternalErrorException
-
getUserAccounts
Collection<UserAccount> getUserAccounts(User usuari) throws InternalErrorException, InternalErrorException -
getUserGrantedAccounts
Collection<Account> getUserGrantedAccounts(User usuari) throws InternalErrorException, InternalErrorException -
getUserGrantedAccounts
Collection<Account> getUserGrantedAccounts(User usuari, AccountAccessLevelEnum level) throws InternalErrorException, InternalErrorException -
findUsersAccounts
List<UserAccount> findUsersAccounts(String userName, String dispatcherName) throws InternalErrorException, InternalErrorException -
findUserAccountsByDomain
List<UserAccount> findUserAccountsByDomain(String user, String passwordDomain) throws InternalErrorException, InternalErrorException -
getAccountAttributes
- Throws:
InternalErrorException
-
listAccountGrants
- Throws:
InternalErrorException
-
listNonUserAccounts
List<Account> listNonUserAccounts(System dispatcher, String nom) throws InternalErrorException, InternalErrorException -
listUserAccounts
List<UserAccount> listUserAccounts(User usuari) throws InternalErrorException, InternalErrorException -
checkinHPAccount
-
removeAccount
-
removeAccount
-
removeAccountAttribute
- Throws:
InternalErrorException
-
removeAccountGrant
- Throws:
InternalErrorException
-
renameAccount
void renameAccount(Account account) throws InternalErrorException, InternalErrorException, AccountAlreadyExistsException -
sendAccountPassword
void sendAccountPassword(Account account) throws InternalErrorException, InternalErrorException, BadPasswordException -
setAccountPassword
void setAccountPassword(Account account, Password password) throws InternalErrorException, InternalErrorException, BadPasswordException -
setAccountTemporaryPassword
void setAccountTemporaryPassword(Account account, Password password) throws InternalErrorException, InternalErrorException, BadPasswordException
-