Package es.caib.seycon.ng.servei
Class AccountServiceBase
- java.lang.Object
-
- es.caib.seycon.ng.servei.AccountServiceBase
-
- All Implemented Interfaces:
es.caib.seycon.ng.servei.AccountService
public abstract class AccountServiceBase extends Object implements es.caib.seycon.ng.servei.AccountService
Spring Service base class for
see es.caib.seycon.ng.servei.AccountServicees.caib.seycon.ng.servei.AccountService, provides access to all services and entities referenced by this service.
-
-
Constructor Summary
Constructors Constructor Description AccountServiceBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcheckinHPAccount(es.caib.seycon.ng.comu.Account account)voidcheckinHPAccounts()es.caib.seycon.ng.comu.PasswordValidationcheckPasswordSynchronizationStatus(es.caib.seycon.ng.comu.Account account)es.caib.seycon.ng.comu.AccountcreateAccount(es.caib.seycon.ng.comu.Account account)es.caib.seycon.ng.comu.UserAccountcreateAccount(es.caib.seycon.ng.comu.Usuari usuari, es.caib.seycon.ng.comu.Dispatcher dispatcher, String name)es.caib.seycon.ng.comu.AccountcreateAccount2(es.caib.seycon.ng.comu.Account account)es.caib.seycon.ng.comu.DadaUsuaricreateAccountAttribute(es.caib.seycon.ng.comu.DadaUsuari attribute)com.soffid.iam.api.AsyncProcessTrackerdisableAccounts(String scimQuery, List<com.soffid.iam.api.DisableObjectRule> rules)com.soffid.iam.api.AsyncProcessTrackerdisableAccountsPreview(String scimQuery, List<com.soffid.iam.api.DisableObjectRule> rules, List<Object[]> actions)es.caib.seycon.ng.comu.AccountfindAccount(String accountAndDispatcher)es.caib.seycon.ng.comu.AccountfindAccount(String accountName, String dispatcherName)es.caib.seycon.ng.comu.AccountfindAccountById(long id)Collection<es.caib.seycon.ng.comu.Account>findAccountByJsonQuery(String query)com.soffid.iam.api.PagedResult<es.caib.seycon.ng.comu.Account>findAccountByJsonQuery(String query, Integer first, Integer num)com.soffid.iam.api.AsyncList<es.caib.seycon.ng.comu.Account>findAccountByJsonQueryAsync(String query)Collection<es.caib.seycon.ng.comu.Account>findAccountByText(String text)com.soffid.iam.api.PagedResult<es.caib.seycon.ng.comu.Account>findAccountByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize)com.soffid.iam.api.AsyncList<es.caib.seycon.ng.comu.Account>findAccountByTextAndJsonQueryAsync(String text, String jsonQuery)com.soffid.iam.api.AsyncList<es.caib.seycon.ng.comu.Account>findAccountByTextAsync(String text)Collection<String>findAccountNames(String system)List<es.caib.seycon.ng.comu.Account>findAccountsByCriteria(es.caib.seycon.ng.comu.AccountCriteria criteria)Collection<com.soffid.iam.api.HostService>findAccountServices(es.caib.seycon.ng.comu.Account account)List<es.caib.seycon.ng.comu.Account>findAccountsNearToExpire(Date currentDate, Date limitDate, Collection<es.caib.seycon.ng.comu.AccountType> accTypes, Collection<es.caib.seycon.ng.comu.TipusUsuari> userTypes)List<es.caib.seycon.ng.comu.Account>findSharedAccountsByUser(String userName)List<es.caib.seycon.ng.comu.AccountHistory>findSharedAccountsHistoryByUser(String userName)List<es.caib.seycon.ng.comu.UserAccount>findUserAccounts(String userName, String dispatcherName)List<es.caib.seycon.ng.comu.UserAccount>findUserAccountsByDomain(String user, String passwordDomain)es.caib.seycon.ng.comu.PasswordgenerateAccountPassword(es.caib.seycon.ng.comu.Account account)es.caib.seycon.ng.comu.AccountgenerateAccountSshPrivateKey(es.caib.seycon.ng.comu.Account account)es.caib.seycon.ng.comu.PasswordgenerateAccountTemporaryPassword(es.caib.seycon.ng.comu.Account account)voidgenerateUserAccounts(String user)StringgessAccountName(String userName, String dispatcherName)List<es.caib.seycon.ng.comu.DadaUsuari>getAccountAttributes(es.caib.seycon.ng.comu.Account acc)com.soffid.iam.service.AccountServicegetAccountService()Gets reference toaccountService.Collection<String>getAccountUsers(es.caib.seycon.ng.comu.Account account)Collection<String>getAccountUsers(es.caib.seycon.ng.comu.Account account, es.caib.seycon.ng.comu.AccountAccessLevelEnum level)Collection<es.caib.seycon.ng.comu.SeyconAgentTaskLog>getActiveTasks(es.caib.seycon.ng.comu.Account account)es.caib.seycon.ng.comu.UsuarigetHPAccountOwner(es.caib.seycon.ng.comu.Account account)protected PrincipalgetPrincipal()Gets the currentprincipalif one has been set, otherwise returnsnull.Collection<es.caib.seycon.ng.comu.UserAccount>getUserAccounts(es.caib.seycon.ng.comu.Usuari usuari)Collection<Long>getUserGrantedAccountIds(es.caib.seycon.ng.comu.Usuari usuari)Collection<es.caib.seycon.ng.comu.Account>getUserGrantedAccounts(es.caib.seycon.ng.comu.Usuari usuari)Collection<es.caib.seycon.ng.comu.Account>getUserGrantedAccounts(es.caib.seycon.ng.comu.Usuari usuari, es.caib.seycon.ng.comu.AccountAccessLevelEnum level)voidgrantAcccountToUser(es.caib.seycon.ng.comu.Account account, String user, Long processId, Date until)StringguessAccountNameForDomain(String userName, String domainName)protected abstract voidhandleCheckinHPAccount(es.caib.seycon.ng.comu.Account account)protected abstract voidhandleCheckinHPAccounts()protected abstract es.caib.seycon.ng.comu.PasswordValidationhandleCheckPasswordSynchronizationStatus(es.caib.seycon.ng.comu.Account account)protected abstract es.caib.seycon.ng.comu.AccounthandleCreateAccount(es.caib.seycon.ng.comu.Account account)protected abstract es.caib.seycon.ng.comu.UserAccounthandleCreateAccount(es.caib.seycon.ng.comu.Usuari usuari, es.caib.seycon.ng.comu.Dispatcher dispatcher, String name)protected abstract es.caib.seycon.ng.comu.AccounthandleCreateAccount2(es.caib.seycon.ng.comu.Account account)protected abstract es.caib.seycon.ng.comu.DadaUsuarihandleCreateAccountAttribute(es.caib.seycon.ng.comu.DadaUsuari attribute)protected abstract com.soffid.iam.api.AsyncProcessTrackerhandleDisableAccounts(String scimQuery, List<com.soffid.iam.api.DisableObjectRule> rules)protected abstract com.soffid.iam.api.AsyncProcessTrackerhandleDisableAccountsPreview(String scimQuery, List<com.soffid.iam.api.DisableObjectRule> rules, List<Object[]> actions)protected abstract es.caib.seycon.ng.comu.AccounthandleFindAccount(String accountAndDispatcher)protected abstract es.caib.seycon.ng.comu.AccounthandleFindAccount(String accountName, String dispatcherName)protected abstract es.caib.seycon.ng.comu.AccounthandleFindAccountById(long id)protected abstract Collection<es.caib.seycon.ng.comu.Account>handleFindAccountByJsonQuery(String query)protected abstract com.soffid.iam.api.PagedResult<es.caib.seycon.ng.comu.Account>handleFindAccountByJsonQuery(String query, Integer first, Integer num)protected abstract com.soffid.iam.api.AsyncList<es.caib.seycon.ng.comu.Account>handleFindAccountByJsonQueryAsync(String query)protected abstract Collection<es.caib.seycon.ng.comu.Account>handleFindAccountByText(String text)protected abstract com.soffid.iam.api.PagedResult<es.caib.seycon.ng.comu.Account>handleFindAccountByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize)protected abstract com.soffid.iam.api.AsyncList<es.caib.seycon.ng.comu.Account>handleFindAccountByTextAndJsonQueryAsync(String text, String jsonQuery)protected abstract com.soffid.iam.api.AsyncList<es.caib.seycon.ng.comu.Account>handleFindAccountByTextAsync(String text)protected abstract Collection<String>handleFindAccountNames(String system)protected abstract List<es.caib.seycon.ng.comu.Account>handleFindAccountsByCriteria(es.caib.seycon.ng.comu.AccountCriteria criteria)protected abstract Collection<com.soffid.iam.api.HostService>handleFindAccountServices(es.caib.seycon.ng.comu.Account account)protected abstract List<es.caib.seycon.ng.comu.Account>handleFindAccountsNearToExpire(Date currentDate, Date limitDate, Collection<es.caib.seycon.ng.comu.AccountType> accTypes, Collection<es.caib.seycon.ng.comu.TipusUsuari> userTypes)protected abstract List<es.caib.seycon.ng.comu.Account>handleFindSharedAccountsByUser(String userName)protected abstract List<es.caib.seycon.ng.comu.AccountHistory>handleFindSharedAccountsHistoryByUser(String userName)protected abstract List<es.caib.seycon.ng.comu.UserAccount>handleFindUserAccounts(String userName, String dispatcherName)protected abstract List<es.caib.seycon.ng.comu.UserAccount>handleFindUserAccountsByDomain(String user, String passwordDomain)protected abstract es.caib.seycon.ng.comu.PasswordhandleGenerateAccountPassword(es.caib.seycon.ng.comu.Account account)protected abstract es.caib.seycon.ng.comu.AccounthandleGenerateAccountSshPrivateKey(es.caib.seycon.ng.comu.Account account)protected abstract es.caib.seycon.ng.comu.PasswordhandleGenerateAccountTemporaryPassword(es.caib.seycon.ng.comu.Account account)protected abstract voidhandleGenerateUserAccounts(String user)protected abstract StringhandleGessAccountName(String userName, String dispatcherName)protected abstract List<es.caib.seycon.ng.comu.DadaUsuari>handleGetAccountAttributes(es.caib.seycon.ng.comu.Account acc)protected abstract Collection<String>handleGetAccountUsers(es.caib.seycon.ng.comu.Account account)protected abstract Collection<String>handleGetAccountUsers(es.caib.seycon.ng.comu.Account account, es.caib.seycon.ng.comu.AccountAccessLevelEnum level)protected abstract Collection<es.caib.seycon.ng.comu.SeyconAgentTaskLog>handleGetActiveTasks(es.caib.seycon.ng.comu.Account account)protected abstract es.caib.seycon.ng.comu.UsuarihandleGetHPAccountOwner(es.caib.seycon.ng.comu.Account account)protected abstract Collection<es.caib.seycon.ng.comu.UserAccount>handleGetUserAccounts(es.caib.seycon.ng.comu.Usuari usuari)protected abstract Collection<Long>handleGetUserGrantedAccountIds(es.caib.seycon.ng.comu.Usuari usuari)protected abstract Collection<es.caib.seycon.ng.comu.Account>handleGetUserGrantedAccounts(es.caib.seycon.ng.comu.Usuari usuari)protected abstract Collection<es.caib.seycon.ng.comu.Account>handleGetUserGrantedAccounts(es.caib.seycon.ng.comu.Usuari usuari, es.caib.seycon.ng.comu.AccountAccessLevelEnum level)protected abstract voidhandleGrantAcccountToUser(es.caib.seycon.ng.comu.Account account, String user, Long processId, Date until)protected abstract StringhandleGuessAccountNameForDomain(String userName, String domainName)protected abstract booleanhandleHasAccountSshKey(es.caib.seycon.ng.comu.Account account)protected abstract booleanhandleIsAccountPasswordAvailable(long accountId)protected abstract booleanhandleIsUpdatePending(es.caib.seycon.ng.comu.Account account)protected abstract inthandleIsUpdatePendingExtended(es.caib.seycon.ng.comu.Account account)protected abstract List<es.caib.seycon.ng.comu.Account>handleListNonUserAccounts(es.caib.seycon.ng.comu.Dispatcher dispatcher, String nom)protected abstract List<es.caib.seycon.ng.comu.UserAccount>handleListUserAccounts(es.caib.seycon.ng.comu.Usuari usuari)protected abstract es.caib.seycon.ng.comu.AccounthandleLoad(Long identifier)protected abstract booleanhandleNeedsAccount(String userName, String dispatcherName)protected abstract StringhandlePredictAccountName(Long userId, String dispatcher, Long domainId)protected abstract es.caib.seycon.ng.comu.PasswordhandleQueryAccountPassword(es.caib.seycon.ng.comu.Account account)protected abstract es.caib.seycon.ng.comu.PasswordhandleQueryAccountPasswordBypassPolicy(long accountId, es.caib.seycon.ng.comu.AccountAccessLevelEnum level)protected abstract es.caib.seycon.ng.comu.PasswordhandleQueryAccountSshKey(es.caib.seycon.ng.comu.Account account)protected abstract es.caib.seycon.ng.comu.PasswordhandleQueryAccountSshKeyBypassPolicy(long accountId, es.caib.seycon.ng.comu.AccountAccessLevelEnum level)protected abstract voidhandleRegisterAccountReservationProcess(es.caib.seycon.ng.comu.Account account, String user, Long processId)protected abstract voidhandleRemoveAccount(es.caib.seycon.ng.comu.Account account)protected abstract voidhandleRemoveAccount(es.caib.seycon.ng.comu.UserAccount account)protected abstract voidhandleRemoveAccountAttribute(es.caib.seycon.ng.comu.DadaUsuari attribute)protected abstract es.caib.seycon.ng.comu.AccounthandleRemoveAccountSnapshot(es.caib.seycon.ng.comu.Account account)protected abstract voidhandleRenameAccount(es.caib.seycon.ng.comu.Account account)protected abstract voidhandleSendAccountPassword(es.caib.seycon.ng.comu.Account account)protected abstract voidhandleSetAccountPassword(es.caib.seycon.ng.comu.Account account, es.caib.seycon.ng.comu.Password password)protected abstract es.caib.seycon.ng.comu.PasswordhandleSetAccountPassword(es.caib.seycon.ng.comu.Account account, es.caib.seycon.ng.comu.Password password, boolean temporary, boolean online)protected abstract es.caib.seycon.ng.comu.AccounthandleSetAccountSshPrivateKey(es.caib.seycon.ng.comu.Account account, String privateKey)protected abstract voidhandleSetAccountTemporaryPassword(es.caib.seycon.ng.comu.Account account, es.caib.seycon.ng.comu.Password password)protected abstract booleanhandleSetHPAccountPassword(es.caib.seycon.ng.comu.Account account, es.caib.seycon.ng.comu.Password password, Date untilDate, boolean force)protected abstract voidhandleSynchronizeAccount(String accountName, String system)protected abstract es.caib.seycon.ng.comu.AccounthandleUpdateAccount(es.caib.seycon.ng.comu.Account account)protected abstract es.caib.seycon.ng.comu.AccounthandleUpdateAccount2(es.caib.seycon.ng.comu.Account account)protected abstract es.caib.seycon.ng.comu.DadaUsuarihandleUpdateAccountAttribute(es.caib.seycon.ng.comu.DadaUsuari attribute)protected abstract voidhandleUpdateAccountLastUpdate(es.caib.seycon.ng.comu.Account account)protected abstract voidhandleUpdateAccountPasswordDate(es.caib.seycon.ng.comu.Account account, Long passwordTerm)protected abstract voidhandleUpdateAccountPasswordDate2(es.caib.seycon.ng.comu.Account account, Date expirationDate)booleanhasAccountSshKey(es.caib.seycon.ng.comu.Account account)booleanisAccountPasswordAvailable(long accountId)booleanisUpdatePending(es.caib.seycon.ng.comu.Account account)intisUpdatePendingExtended(es.caib.seycon.ng.comu.Account account)List<es.caib.seycon.ng.comu.Account>listNonUserAccounts(es.caib.seycon.ng.comu.Dispatcher dispatcher, String nom)List<es.caib.seycon.ng.comu.UserAccount>listUserAccounts(es.caib.seycon.ng.comu.Usuari usuari)es.caib.seycon.ng.comu.Accountload(Long identifier)booleanneedsAccount(String userName, String dispatcherName)StringpredictAccountName(Long userId, String dispatcher, Long domainId)es.caib.seycon.ng.comu.PasswordqueryAccountPassword(es.caib.seycon.ng.comu.Account account)es.caib.seycon.ng.comu.PasswordqueryAccountPasswordBypassPolicy(long accountId, es.caib.seycon.ng.comu.AccountAccessLevelEnum level)es.caib.seycon.ng.comu.PasswordqueryAccountSshKey(es.caib.seycon.ng.comu.Account account)es.caib.seycon.ng.comu.PasswordqueryAccountSshKeyBypassPolicy(long accountId, es.caib.seycon.ng.comu.AccountAccessLevelEnum level)voidregisterAccountReservationProcess(es.caib.seycon.ng.comu.Account account, String user, Long processId)voidremoveAccount(es.caib.seycon.ng.comu.Account account)voidremoveAccount(es.caib.seycon.ng.comu.UserAccount account)voidremoveAccountAttribute(es.caib.seycon.ng.comu.DadaUsuari attribute)es.caib.seycon.ng.comu.AccountremoveAccountSnapshot(es.caib.seycon.ng.comu.Account account)voidrenameAccount(es.caib.seycon.ng.comu.Account account)voidsendAccountPassword(es.caib.seycon.ng.comu.Account account)voidsetAccountPassword(es.caib.seycon.ng.comu.Account account, es.caib.seycon.ng.comu.Password password)es.caib.seycon.ng.comu.PasswordsetAccountPassword(es.caib.seycon.ng.comu.Account account, es.caib.seycon.ng.comu.Password password, boolean temporary, boolean online)voidsetAccountService(com.soffid.iam.service.AccountService accountService)Sets reference toaccountService.es.caib.seycon.ng.comu.AccountsetAccountSshPrivateKey(es.caib.seycon.ng.comu.Account account, String privateKey)voidsetAccountTemporaryPassword(es.caib.seycon.ng.comu.Account account, es.caib.seycon.ng.comu.Password password)booleansetHPAccountPassword(es.caib.seycon.ng.comu.Account account, es.caib.seycon.ng.comu.Password password, Date untilDate, boolean force)voidsynchronizeAccount(String accountName, String system)es.caib.seycon.ng.comu.AccountupdateAccount(es.caib.seycon.ng.comu.Account account)es.caib.seycon.ng.comu.AccountupdateAccount2(es.caib.seycon.ng.comu.Account account)es.caib.seycon.ng.comu.DadaUsuariupdateAccountAttribute(es.caib.seycon.ng.comu.DadaUsuari attribute)voidupdateAccountLastUpdate(es.caib.seycon.ng.comu.Account account)voidupdateAccountPasswordDate(es.caib.seycon.ng.comu.Account account, Long passwordTerm)voidupdateAccountPasswordDate2(es.caib.seycon.ng.comu.Account account, Date expirationDate)
-
-
-
Method Detail
-
setAccountService
public void setAccountService(com.soffid.iam.service.AccountService accountService)
Sets reference toaccountService.
-
getAccountService
public com.soffid.iam.service.AccountService getAccountService()
Gets reference toaccountService.
-
hasAccountSshKey
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public boolean hasAccountSshKey(es.caib.seycon.ng.comu.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
hasAccountSshKeyin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleHasAccountSshKey
protected abstract boolean handleHasAccountSshKey(es.caib.seycon.ng.comu.Account account) throws Exception- Throws:
Exception
-
isAccountPasswordAvailable
@Transactional(rollbackFor=java.lang.Exception.class) public boolean isAccountPasswordAvailable(long accountId) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
isAccountPasswordAvailablein interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleIsAccountPasswordAvailable
protected abstract boolean handleIsAccountPasswordAvailable(long accountId) throws Exception- Throws:
Exception
-
isUpdatePending
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public boolean isUpdatePending(es.caib.seycon.ng.comu.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
isUpdatePendingin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleIsUpdatePending
protected abstract boolean handleIsUpdatePending(es.caib.seycon.ng.comu.Account account) throws Exception- Throws:
Exception
-
needsAccount
@Transactional(isolation=DEFAULT, propagation=REQUIRED, noRollbackFor=java.lang.Exception.class) public boolean needsAccount(String userName, String dispatcherName) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
needsAccountin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleNeedsAccount
protected abstract boolean handleNeedsAccount(String userName, String dispatcherName) throws Exception
- Throws:
Exception
-
setHPAccountPassword
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public boolean setHPAccountPassword(es.caib.seycon.ng.comu.Account account, es.caib.seycon.ng.comu.Password password, Date untilDate, boolean force) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
setHPAccountPasswordin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleSetHPAccountPassword
protected abstract boolean handleSetHPAccountPassword(es.caib.seycon.ng.comu.Account account, es.caib.seycon.ng.comu.Password password, Date untilDate, boolean force) throws Exception- Throws:
Exception
-
findAccountByJsonQueryAsync
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.AsyncList<es.caib.seycon.ng.comu.Account> findAccountByJsonQueryAsync(String query) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findAccountByJsonQueryAsyncin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindAccountByJsonQueryAsync
protected abstract com.soffid.iam.api.AsyncList<es.caib.seycon.ng.comu.Account> handleFindAccountByJsonQueryAsync(String query) throws Exception
- Throws:
Exception
-
findAccountByTextAndJsonQueryAsync
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.AsyncList<es.caib.seycon.ng.comu.Account> findAccountByTextAndJsonQueryAsync(String text, String jsonQuery) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findAccountByTextAndJsonQueryAsyncin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindAccountByTextAndJsonQueryAsync
protected abstract com.soffid.iam.api.AsyncList<es.caib.seycon.ng.comu.Account> handleFindAccountByTextAndJsonQueryAsync(String text, String jsonQuery) throws Exception
- Throws:
Exception
-
findAccountByTextAsync
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.AsyncList<es.caib.seycon.ng.comu.Account> findAccountByTextAsync(String text) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findAccountByTextAsyncin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindAccountByTextAsync
protected abstract com.soffid.iam.api.AsyncList<es.caib.seycon.ng.comu.Account> handleFindAccountByTextAsync(String text) throws Exception
- Throws:
Exception
-
disableAccounts
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.AsyncProcessTracker disableAccounts(String scimQuery, List<com.soffid.iam.api.DisableObjectRule> rules) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
disableAccountsin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleDisableAccounts
protected abstract com.soffid.iam.api.AsyncProcessTracker handleDisableAccounts(String scimQuery, List<com.soffid.iam.api.DisableObjectRule> rules) throws Exception
- Throws:
Exception
-
disableAccountsPreview
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.AsyncProcessTracker disableAccountsPreview(String scimQuery, List<com.soffid.iam.api.DisableObjectRule> rules, List<Object[]> actions) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
disableAccountsPreviewin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleDisableAccountsPreview
protected abstract com.soffid.iam.api.AsyncProcessTracker handleDisableAccountsPreview(String scimQuery, List<com.soffid.iam.api.DisableObjectRule> rules, List<Object[]> actions) throws Exception
- Throws:
Exception
-
findAccountByJsonQuery
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.PagedResult<es.caib.seycon.ng.comu.Account> findAccountByJsonQuery(String query, Integer first, Integer num) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findAccountByJsonQueryin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindAccountByJsonQuery
protected abstract com.soffid.iam.api.PagedResult<es.caib.seycon.ng.comu.Account> handleFindAccountByJsonQuery(String query, Integer first, Integer num) throws Exception
- Throws:
Exception
-
findAccountByTextAndJsonQuery
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.PagedResult<es.caib.seycon.ng.comu.Account> findAccountByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findAccountByTextAndJsonQueryin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindAccountByTextAndJsonQuery
protected abstract com.soffid.iam.api.PagedResult<es.caib.seycon.ng.comu.Account> handleFindAccountByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize) throws Exception
- Throws:
Exception
-
createAccount
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.Account createAccount(es.caib.seycon.ng.comu.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.AccountAlreadyExistsException- Specified by:
createAccountin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptiones.caib.seycon.ng.exception.AccountAlreadyExistsException
-
handleCreateAccount
protected abstract es.caib.seycon.ng.comu.Account handleCreateAccount(es.caib.seycon.ng.comu.Account account) throws Exception- Throws:
Exception
-
createAccount2
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.Account createAccount2(es.caib.seycon.ng.comu.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.AccountAlreadyExistsException- Specified by:
createAccount2in interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptiones.caib.seycon.ng.exception.AccountAlreadyExistsException
-
handleCreateAccount2
protected abstract es.caib.seycon.ng.comu.Account handleCreateAccount2(es.caib.seycon.ng.comu.Account account) throws Exception- Throws:
Exception
-
findAccount
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.Account findAccount(String accountAndDispatcher) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findAccountin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindAccount
protected abstract es.caib.seycon.ng.comu.Account handleFindAccount(String accountAndDispatcher) throws Exception
- Throws:
Exception
-
findAccount
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.Account findAccount(String accountName, String dispatcherName) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findAccountin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindAccount
protected abstract es.caib.seycon.ng.comu.Account handleFindAccount(String accountName, String dispatcherName) throws Exception
- Throws:
Exception
-
findAccountById
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.Account findAccountById(long id) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findAccountByIdin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindAccountById
protected abstract es.caib.seycon.ng.comu.Account handleFindAccountById(long id) throws Exception- Throws:
Exception
-
generateAccountSshPrivateKey
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.Account generateAccountSshPrivateKey(es.caib.seycon.ng.comu.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
generateAccountSshPrivateKeyin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGenerateAccountSshPrivateKey
protected abstract es.caib.seycon.ng.comu.Account handleGenerateAccountSshPrivateKey(es.caib.seycon.ng.comu.Account account) throws Exception- Throws:
Exception
-
load
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.Account load(Long identifier) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
loadin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleLoad
protected abstract es.caib.seycon.ng.comu.Account handleLoad(Long identifier) throws Exception
- Throws:
Exception
-
removeAccountSnapshot
@Transactional(rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.Account removeAccountSnapshot(es.caib.seycon.ng.comu.Account account) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
removeAccountSnapshotin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleRemoveAccountSnapshot
protected abstract es.caib.seycon.ng.comu.Account handleRemoveAccountSnapshot(es.caib.seycon.ng.comu.Account account) throws Exception- Throws:
Exception
-
setAccountSshPrivateKey
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.Account setAccountSshPrivateKey(es.caib.seycon.ng.comu.Account account, String privateKey) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
setAccountSshPrivateKeyin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleSetAccountSshPrivateKey
protected abstract es.caib.seycon.ng.comu.Account handleSetAccountSshPrivateKey(es.caib.seycon.ng.comu.Account account, String privateKey) throws Exception- Throws:
Exception
-
updateAccount
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.Account updateAccount(es.caib.seycon.ng.comu.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.AccountAlreadyExistsException- Specified by:
updateAccountin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptiones.caib.seycon.ng.exception.AccountAlreadyExistsException
-
handleUpdateAccount
protected abstract es.caib.seycon.ng.comu.Account handleUpdateAccount(es.caib.seycon.ng.comu.Account account) throws Exception- Throws:
Exception
-
updateAccount2
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.Account updateAccount2(es.caib.seycon.ng.comu.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.AccountAlreadyExistsException- Specified by:
updateAccount2in interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptiones.caib.seycon.ng.exception.AccountAlreadyExistsException
-
handleUpdateAccount2
protected abstract es.caib.seycon.ng.comu.Account handleUpdateAccount2(es.caib.seycon.ng.comu.Account account) throws Exception- Throws:
Exception
-
createAccountAttribute
@Transactional(rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.DadaUsuari createAccountAttribute(es.caib.seycon.ng.comu.DadaUsuari attribute) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
createAccountAttributein interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleCreateAccountAttribute
protected abstract es.caib.seycon.ng.comu.DadaUsuari handleCreateAccountAttribute(es.caib.seycon.ng.comu.DadaUsuari attribute) throws Exception- Throws:
Exception
-
updateAccountAttribute
@Transactional(rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.DadaUsuari updateAccountAttribute(es.caib.seycon.ng.comu.DadaUsuari attribute) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
updateAccountAttributein interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleUpdateAccountAttribute
protected abstract es.caib.seycon.ng.comu.DadaUsuari handleUpdateAccountAttribute(es.caib.seycon.ng.comu.DadaUsuari attribute) throws Exception- Throws:
Exception
-
generateAccountPassword
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.Password generateAccountPassword(es.caib.seycon.ng.comu.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
generateAccountPasswordin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGenerateAccountPassword
protected abstract es.caib.seycon.ng.comu.Password handleGenerateAccountPassword(es.caib.seycon.ng.comu.Account account) throws Exception- Throws:
Exception
-
generateAccountTemporaryPassword
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.Password generateAccountTemporaryPassword(es.caib.seycon.ng.comu.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
generateAccountTemporaryPasswordin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGenerateAccountTemporaryPassword
protected abstract es.caib.seycon.ng.comu.Password handleGenerateAccountTemporaryPassword(es.caib.seycon.ng.comu.Account account) throws Exception- Throws:
Exception
-
queryAccountPassword
@Transactional(isolation=DEFAULT, propagation=REQUIRED, noRollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.Password queryAccountPassword(es.caib.seycon.ng.comu.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
queryAccountPasswordin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleQueryAccountPassword
protected abstract es.caib.seycon.ng.comu.Password handleQueryAccountPassword(es.caib.seycon.ng.comu.Account account) throws Exception- Throws:
Exception
-
queryAccountPasswordBypassPolicy
@Transactional(isolation=DEFAULT, propagation=REQUIRED, noRollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.Password queryAccountPasswordBypassPolicy(long accountId, es.caib.seycon.ng.comu.AccountAccessLevelEnum level) throws es.caib.seycon.ng.exception.InternalErrorException- Specified by:
queryAccountPasswordBypassPolicyin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleQueryAccountPasswordBypassPolicy
protected abstract es.caib.seycon.ng.comu.Password handleQueryAccountPasswordBypassPolicy(long accountId, es.caib.seycon.ng.comu.AccountAccessLevelEnum level) throws Exception- Throws:
Exception
-
queryAccountSshKey
@Transactional(isolation=DEFAULT, propagation=REQUIRED, noRollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.Password queryAccountSshKey(es.caib.seycon.ng.comu.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
queryAccountSshKeyin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleQueryAccountSshKey
protected abstract es.caib.seycon.ng.comu.Password handleQueryAccountSshKey(es.caib.seycon.ng.comu.Account account) throws Exception- Throws:
Exception
-
queryAccountSshKeyBypassPolicy
@Transactional(isolation=DEFAULT, propagation=REQUIRED, noRollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.Password queryAccountSshKeyBypassPolicy(long accountId, es.caib.seycon.ng.comu.AccountAccessLevelEnum level) throws es.caib.seycon.ng.exception.InternalErrorException- Specified by:
queryAccountSshKeyBypassPolicyin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleQueryAccountSshKeyBypassPolicy
protected abstract es.caib.seycon.ng.comu.Password handleQueryAccountSshKeyBypassPolicy(long accountId, es.caib.seycon.ng.comu.AccountAccessLevelEnum level) throws Exception- Throws:
Exception
-
setAccountPassword
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.Password setAccountPassword(es.caib.seycon.ng.comu.Account account, es.caib.seycon.ng.comu.Password password, boolean temporary, boolean online) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.BadPasswordException- Specified by:
setAccountPasswordin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptiones.caib.seycon.ng.exception.BadPasswordException
-
handleSetAccountPassword
protected abstract es.caib.seycon.ng.comu.Password handleSetAccountPassword(es.caib.seycon.ng.comu.Account account, es.caib.seycon.ng.comu.Password password, boolean temporary, boolean online) throws Exception- Throws:
Exception
-
checkPasswordSynchronizationStatus
@Transactional(rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.PasswordValidation checkPasswordSynchronizationStatus(es.caib.seycon.ng.comu.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
checkPasswordSynchronizationStatusin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleCheckPasswordSynchronizationStatus
protected abstract es.caib.seycon.ng.comu.PasswordValidation handleCheckPasswordSynchronizationStatus(es.caib.seycon.ng.comu.Account account) throws Exception- Throws:
Exception
-
createAccount
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.UserAccount createAccount(es.caib.seycon.ng.comu.Usuari usuari, es.caib.seycon.ng.comu.Dispatcher dispatcher, String name) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.NeedsAccountNameException, es.caib.seycon.ng.exception.AccountAlreadyExistsException- Specified by:
createAccountin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptiones.caib.seycon.ng.exception.NeedsAccountNameExceptiones.caib.seycon.ng.exception.AccountAlreadyExistsException
-
handleCreateAccount
protected abstract es.caib.seycon.ng.comu.UserAccount handleCreateAccount(es.caib.seycon.ng.comu.Usuari usuari, es.caib.seycon.ng.comu.Dispatcher dispatcher, String name) throws Exception- Throws:
Exception
-
getHPAccountOwner
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.Usuari getHPAccountOwner(es.caib.seycon.ng.comu.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getHPAccountOwnerin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetHPAccountOwner
protected abstract es.caib.seycon.ng.comu.Usuari handleGetHPAccountOwner(es.caib.seycon.ng.comu.Account account) throws Exception- Throws:
Exception
-
isUpdatePendingExtended
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public int isUpdatePendingExtended(es.caib.seycon.ng.comu.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
isUpdatePendingExtendedin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleIsUpdatePendingExtended
protected abstract int handleIsUpdatePendingExtended(es.caib.seycon.ng.comu.Account account) throws Exception- Throws:
Exception
-
gessAccountName
@Transactional(isolation=DEFAULT, propagation=REQUIRED, noRollbackFor=java.lang.Exception.class) public String gessAccountName(String userName, String dispatcherName) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
gessAccountNamein interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGessAccountName
protected abstract String handleGessAccountName(String userName, String dispatcherName) throws Exception
- Throws:
Exception
-
guessAccountNameForDomain
@Transactional(isolation=DEFAULT, propagation=REQUIRED, noRollbackFor=java.lang.Exception.class) public String guessAccountNameForDomain(String userName, String domainName) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
guessAccountNameForDomainin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGuessAccountNameForDomain
protected abstract String handleGuessAccountNameForDomain(String userName, String domainName) throws Exception
- Throws:
Exception
-
predictAccountName
@Transactional(isolation=DEFAULT, propagation=REQUIRED, noRollbackFor=java.lang.Exception.class, readOnly=true) public String predictAccountName(Long userId, String dispatcher, Long domainId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.NeedsAccountNameException, es.caib.seycon.ng.exception.AccountAlreadyExistsException- Specified by:
predictAccountNamein interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptiones.caib.seycon.ng.exception.NeedsAccountNameExceptiones.caib.seycon.ng.exception.AccountAlreadyExistsException
-
handlePredictAccountName
protected abstract String handlePredictAccountName(Long userId, String dispatcher, Long domainId) throws Exception
- Throws:
Exception
-
findAccountByJsonQuery
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<es.caib.seycon.ng.comu.Account> findAccountByJsonQuery(String query) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findAccountByJsonQueryin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindAccountByJsonQuery
protected abstract Collection<es.caib.seycon.ng.comu.Account> handleFindAccountByJsonQuery(String query) throws Exception
- Throws:
Exception
-
findAccountByText
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<es.caib.seycon.ng.comu.Account> findAccountByText(String text) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findAccountByTextin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindAccountByText
protected abstract Collection<es.caib.seycon.ng.comu.Account> handleFindAccountByText(String text) throws Exception
- Throws:
Exception
-
findAccountNames
@Transactional(isolation=DEFAULT, propagation=REQUIRED, readOnly=true) public Collection<String> findAccountNames(String system) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findAccountNamesin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindAccountNames
protected abstract Collection<String> handleFindAccountNames(String system) throws Exception
- Throws:
Exception
-
findAccountServices
@Transactional(rollbackFor=java.lang.Exception.class) public Collection<com.soffid.iam.api.HostService> findAccountServices(es.caib.seycon.ng.comu.Account account) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findAccountServicesin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindAccountServices
protected abstract Collection<com.soffid.iam.api.HostService> handleFindAccountServices(es.caib.seycon.ng.comu.Account account) throws Exception
- Throws:
Exception
-
getAccountUsers
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<String> getAccountUsers(es.caib.seycon.ng.comu.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getAccountUsersin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetAccountUsers
protected abstract Collection<String> handleGetAccountUsers(es.caib.seycon.ng.comu.Account account) throws Exception
- Throws:
Exception
-
getAccountUsers
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<String> getAccountUsers(es.caib.seycon.ng.comu.Account account, es.caib.seycon.ng.comu.AccountAccessLevelEnum level) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getAccountUsersin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetAccountUsers
protected abstract Collection<String> handleGetAccountUsers(es.caib.seycon.ng.comu.Account account, es.caib.seycon.ng.comu.AccountAccessLevelEnum level) throws Exception
- Throws:
Exception
-
getActiveTasks
@Transactional(rollbackFor=java.lang.Exception.class) public Collection<es.caib.seycon.ng.comu.SeyconAgentTaskLog> getActiveTasks(es.caib.seycon.ng.comu.Account account) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getActiveTasksin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetActiveTasks
protected abstract Collection<es.caib.seycon.ng.comu.SeyconAgentTaskLog> handleGetActiveTasks(es.caib.seycon.ng.comu.Account account) throws Exception
- Throws:
Exception
-
getUserAccounts
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<es.caib.seycon.ng.comu.UserAccount> getUserAccounts(es.caib.seycon.ng.comu.Usuari usuari) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getUserAccountsin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetUserAccounts
protected abstract Collection<es.caib.seycon.ng.comu.UserAccount> handleGetUserAccounts(es.caib.seycon.ng.comu.Usuari usuari) throws Exception
- Throws:
Exception
-
getUserGrantedAccountIds
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<Long> getUserGrantedAccountIds(es.caib.seycon.ng.comu.Usuari usuari) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getUserGrantedAccountIdsin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetUserGrantedAccountIds
protected abstract Collection<Long> handleGetUserGrantedAccountIds(es.caib.seycon.ng.comu.Usuari usuari) throws Exception
- Throws:
Exception
-
getUserGrantedAccounts
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<es.caib.seycon.ng.comu.Account> getUserGrantedAccounts(es.caib.seycon.ng.comu.Usuari usuari) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getUserGrantedAccountsin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetUserGrantedAccounts
protected abstract Collection<es.caib.seycon.ng.comu.Account> handleGetUserGrantedAccounts(es.caib.seycon.ng.comu.Usuari usuari) throws Exception
- Throws:
Exception
-
getUserGrantedAccounts
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<es.caib.seycon.ng.comu.Account> getUserGrantedAccounts(es.caib.seycon.ng.comu.Usuari usuari, es.caib.seycon.ng.comu.AccountAccessLevelEnum level) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getUserGrantedAccountsin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetUserGrantedAccounts
protected abstract Collection<es.caib.seycon.ng.comu.Account> handleGetUserGrantedAccounts(es.caib.seycon.ng.comu.Usuari usuari, es.caib.seycon.ng.comu.AccountAccessLevelEnum level) throws Exception
- Throws:
Exception
-
findAccountsByCriteria
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public List<es.caib.seycon.ng.comu.Account> findAccountsByCriteria(es.caib.seycon.ng.comu.AccountCriteria criteria) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findAccountsByCriteriain interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindAccountsByCriteria
protected abstract List<es.caib.seycon.ng.comu.Account> handleFindAccountsByCriteria(es.caib.seycon.ng.comu.AccountCriteria criteria) throws Exception
- Throws:
Exception
-
findAccountsNearToExpire
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public List<es.caib.seycon.ng.comu.Account> findAccountsNearToExpire(Date currentDate, Date limitDate, Collection<es.caib.seycon.ng.comu.AccountType> accTypes, Collection<es.caib.seycon.ng.comu.TipusUsuari> userTypes) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findAccountsNearToExpirein interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindAccountsNearToExpire
protected abstract List<es.caib.seycon.ng.comu.Account> handleFindAccountsNearToExpire(Date currentDate, Date limitDate, Collection<es.caib.seycon.ng.comu.AccountType> accTypes, Collection<es.caib.seycon.ng.comu.TipusUsuari> userTypes) throws Exception
- Throws:
Exception
-
findSharedAccountsByUser
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public List<es.caib.seycon.ng.comu.Account> findSharedAccountsByUser(String userName) throws es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findSharedAccountsByUserin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindSharedAccountsByUser
protected abstract List<es.caib.seycon.ng.comu.Account> handleFindSharedAccountsByUser(String userName) throws Exception
- Throws:
Exception
-
findSharedAccountsHistoryByUser
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public List<es.caib.seycon.ng.comu.AccountHistory> findSharedAccountsHistoryByUser(String userName) throws es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findSharedAccountsHistoryByUserin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindSharedAccountsHistoryByUser
protected abstract List<es.caib.seycon.ng.comu.AccountHistory> handleFindSharedAccountsHistoryByUser(String userName) throws Exception
- Throws:
Exception
-
findUserAccounts
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public List<es.caib.seycon.ng.comu.UserAccount> findUserAccounts(String userName, String dispatcherName) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findUserAccountsin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindUserAccounts
protected abstract List<es.caib.seycon.ng.comu.UserAccount> handleFindUserAccounts(String userName, String dispatcherName) throws Exception
- Throws:
Exception
-
findUserAccountsByDomain
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public List<es.caib.seycon.ng.comu.UserAccount> findUserAccountsByDomain(String user, String passwordDomain) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findUserAccountsByDomainin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindUserAccountsByDomain
protected abstract List<es.caib.seycon.ng.comu.UserAccount> handleFindUserAccountsByDomain(String user, String passwordDomain) throws Exception
- Throws:
Exception
-
getAccountAttributes
@Transactional(rollbackFor=java.lang.Exception.class) public List<es.caib.seycon.ng.comu.DadaUsuari> getAccountAttributes(es.caib.seycon.ng.comu.Account acc) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getAccountAttributesin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetAccountAttributes
protected abstract List<es.caib.seycon.ng.comu.DadaUsuari> handleGetAccountAttributes(es.caib.seycon.ng.comu.Account acc) throws Exception
- Throws:
Exception
-
listNonUserAccounts
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public List<es.caib.seycon.ng.comu.Account> listNonUserAccounts(es.caib.seycon.ng.comu.Dispatcher dispatcher, String nom) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
listNonUserAccountsin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleListNonUserAccounts
protected abstract List<es.caib.seycon.ng.comu.Account> handleListNonUserAccounts(es.caib.seycon.ng.comu.Dispatcher dispatcher, String nom) throws Exception
- Throws:
Exception
-
listUserAccounts
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public List<es.caib.seycon.ng.comu.UserAccount> listUserAccounts(es.caib.seycon.ng.comu.Usuari usuari) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
listUserAccountsin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleListUserAccounts
protected abstract List<es.caib.seycon.ng.comu.UserAccount> handleListUserAccounts(es.caib.seycon.ng.comu.Usuari usuari) throws Exception
- Throws:
Exception
-
checkinHPAccount
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void checkinHPAccount(es.caib.seycon.ng.comu.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
checkinHPAccountin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleCheckinHPAccount
protected abstract void handleCheckinHPAccount(es.caib.seycon.ng.comu.Account account) throws Exception- Throws:
Exception
-
checkinHPAccounts
@Transactional(rollbackFor=java.lang.Exception.class) public void checkinHPAccounts() throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
checkinHPAccountsin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleCheckinHPAccounts
protected abstract void handleCheckinHPAccounts() throws Exception- Throws:
Exception
-
generateUserAccounts
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void generateUserAccounts(String user) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
generateUserAccountsin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGenerateUserAccounts
protected abstract void handleGenerateUserAccounts(String user) throws Exception
- Throws:
Exception
-
removeAccount
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void removeAccount(es.caib.seycon.ng.comu.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
removeAccountin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleRemoveAccount
protected abstract void handleRemoveAccount(es.caib.seycon.ng.comu.Account account) throws Exception- Throws:
Exception
-
removeAccount
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void removeAccount(es.caib.seycon.ng.comu.UserAccount account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
removeAccountin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleRemoveAccount
protected abstract void handleRemoveAccount(es.caib.seycon.ng.comu.UserAccount account) throws Exception- Throws:
Exception
-
removeAccountAttribute
@Transactional(rollbackFor=java.lang.Exception.class) public void removeAccountAttribute(es.caib.seycon.ng.comu.DadaUsuari attribute) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
removeAccountAttributein interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleRemoveAccountAttribute
protected abstract void handleRemoveAccountAttribute(es.caib.seycon.ng.comu.DadaUsuari attribute) throws Exception- Throws:
Exception
-
renameAccount
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void renameAccount(es.caib.seycon.ng.comu.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.AccountAlreadyExistsException- Specified by:
renameAccountin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptiones.caib.seycon.ng.exception.AccountAlreadyExistsException
-
handleRenameAccount
protected abstract void handleRenameAccount(es.caib.seycon.ng.comu.Account account) throws Exception- Throws:
Exception
-
sendAccountPassword
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void sendAccountPassword(es.caib.seycon.ng.comu.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.BadPasswordException- Specified by:
sendAccountPasswordin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptiones.caib.seycon.ng.exception.BadPasswordException
-
handleSendAccountPassword
protected abstract void handleSendAccountPassword(es.caib.seycon.ng.comu.Account account) throws Exception- Throws:
Exception
-
setAccountPassword
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void setAccountPassword(es.caib.seycon.ng.comu.Account account, es.caib.seycon.ng.comu.Password password) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.BadPasswordException- Specified by:
setAccountPasswordin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptiones.caib.seycon.ng.exception.BadPasswordException
-
handleSetAccountPassword
protected abstract void handleSetAccountPassword(es.caib.seycon.ng.comu.Account account, es.caib.seycon.ng.comu.Password password) throws Exception- Throws:
Exception
-
setAccountTemporaryPassword
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void setAccountTemporaryPassword(es.caib.seycon.ng.comu.Account account, es.caib.seycon.ng.comu.Password password) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.BadPasswordException- Specified by:
setAccountTemporaryPasswordin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptiones.caib.seycon.ng.exception.BadPasswordException
-
handleSetAccountTemporaryPassword
protected abstract void handleSetAccountTemporaryPassword(es.caib.seycon.ng.comu.Account account, es.caib.seycon.ng.comu.Password password) throws Exception- Throws:
Exception
-
synchronizeAccount
@Transactional(rollbackFor=java.lang.Exception.class) public void synchronizeAccount(String accountName, String system) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
synchronizeAccountin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleSynchronizeAccount
protected abstract void handleSynchronizeAccount(String accountName, String system) throws Exception
- Throws:
Exception
-
updateAccountLastUpdate
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void updateAccountLastUpdate(es.caib.seycon.ng.comu.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
updateAccountLastUpdatein interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleUpdateAccountLastUpdate
protected abstract void handleUpdateAccountLastUpdate(es.caib.seycon.ng.comu.Account account) throws Exception- Throws:
Exception
-
updateAccountPasswordDate
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void updateAccountPasswordDate(es.caib.seycon.ng.comu.Account account, Long passwordTerm) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
updateAccountPasswordDatein interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleUpdateAccountPasswordDate
protected abstract void handleUpdateAccountPasswordDate(es.caib.seycon.ng.comu.Account account, Long passwordTerm) throws Exception- Throws:
Exception
-
updateAccountPasswordDate2
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void updateAccountPasswordDate2(es.caib.seycon.ng.comu.Account account, Date expirationDate) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
updateAccountPasswordDate2in interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleUpdateAccountPasswordDate2
protected abstract void handleUpdateAccountPasswordDate2(es.caib.seycon.ng.comu.Account account, Date expirationDate) throws Exception- Throws:
Exception
-
grantAcccountToUser
@Transactional(rollbackFor=java.lang.Exception.class) public void grantAcccountToUser(es.caib.seycon.ng.comu.Account account, String user, Long processId, Date until) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
grantAcccountToUserin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGrantAcccountToUser
protected abstract void handleGrantAcccountToUser(es.caib.seycon.ng.comu.Account account, String user, Long processId, Date until) throws Exception- Throws:
Exception
-
registerAccountReservationProcess
@Transactional(rollbackFor=java.lang.Exception.class) public void registerAccountReservationProcess(es.caib.seycon.ng.comu.Account account, String user, Long processId) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
registerAccountReservationProcessin interfacees.caib.seycon.ng.servei.AccountService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleRegisterAccountReservationProcess
protected abstract void handleRegisterAccountReservationProcess(es.caib.seycon.ng.comu.Account account, String user, Long processId) throws Exception- Throws:
Exception
-
getPrincipal
protected Principal getPrincipal()
Gets the currentprincipalif one has been set, otherwise returnsnull.- Returns:
- the current principal
-
-