Class AccountServiceBean

  • All Implemented Interfaces:
    com.soffid.iam.service.ejb.AccountService, Serializable, javax.ejb.EnterpriseBean, javax.ejb.SessionBean, org.springframework.ejb.support.SmartSessionBean

    public class AccountServiceBean
    extends org.springframework.ejb.support.AbstractStatelessSessionBean
    implements com.soffid.iam.service.ejb.AccountService
    See Also:
    com.soffid.iam.service.AccountService,, es.caib.seycon.ng.servei.AccountService,, Serialized Form
    • Constructor Detail

      • AccountServiceBean

        public AccountServiceBean()
    • Method Detail

      • hasAccountSshKey

        @PermitAll
        public boolean hasAccountSshKey​(com.soffid.iam.api.Account account)
                                 throws es.caib.seycon.ng.exception.InternalErrorException,
                                        es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        hasAccountSshKey in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • isAccountPasswordAvailable

        @PermitAll
        public boolean isAccountPasswordAvailable​(long accountId)
                                           throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        isAccountPasswordAvailable in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • isUpdatePending

        @PermitAll
        public boolean isUpdatePending​(com.soffid.iam.api.Account account)
                                throws es.caib.seycon.ng.exception.InternalErrorException,
                                       es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        isUpdatePending in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • needsAccount

        @PermitAll
        public boolean needsAccount​(String userName,
                                    String dispatcherName)
                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        needsAccount in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • setHPAccountPassword

        @PermitAll
        public boolean setHPAccountPassword​(com.soffid.iam.api.Account account,
                                            com.soffid.iam.api.Password password,
                                            Date untilDate,
                                            boolean force)
                                     throws es.caib.seycon.ng.exception.InternalErrorException,
                                            es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        setHPAccountPassword in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findAccountByJsonQueryAsync

        @PermitAll
        public com.soffid.iam.api.AsyncList<com.soffid.iam.api.Account> findAccountByJsonQueryAsync​(String query)
                                                                                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAccountByJsonQueryAsync in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findAccountByTextAndJsonQueryAsync

        @PermitAll
        public com.soffid.iam.api.AsyncList<com.soffid.iam.api.Account> findAccountByTextAndJsonQueryAsync​(String text,
                                                                                                           String jsonQuery)
                                                                                                    throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAccountByTextAndJsonQueryAsync in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findAccountByTextAsync

        @PermitAll
        public com.soffid.iam.api.AsyncList<com.soffid.iam.api.Account> findAccountByTextAsync​(String text)
                                                                                        throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                               es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAccountByTextAsync in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • disableAccounts

        @PermitAll
        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:
        disableAccounts in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • disableAccountsPreview

        @PermitAll
        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:
        disableAccountsPreview in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findAccountByJsonQuery

        @PermitAll
        public com.soffid.iam.api.PagedResult<com.soffid.iam.api.Account> findAccountByJsonQuery​(String query,
                                                                                                 Integer first,
                                                                                                 Integer num)
                                                                                          throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                 es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAccountByJsonQuery in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findAccountByTextAndJsonQuery

        @PermitAll
        public com.soffid.iam.api.PagedResult<com.soffid.iam.api.Account> findAccountByTextAndJsonQuery​(String text,
                                                                                                        String jsonQuery,
                                                                                                        Integer start,
                                                                                                        Integer pageSize)
                                                                                                 throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAccountByTextAndJsonQuery in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • createAccount

        @PermitAll
        public com.soffid.iam.api.Account createAccount​(com.soffid.iam.api.Account account)
                                                 throws es.caib.seycon.ng.exception.InternalErrorException,
                                                        es.caib.seycon.ng.exception.InternalErrorException,
                                                        es.caib.seycon.ng.exception.AccountAlreadyExistsException
        Specified by:
        createAccount in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        es.caib.seycon.ng.exception.AccountAlreadyExistsException
      • createAccount2

        @PermitAll
        public com.soffid.iam.api.Account createAccount2​(com.soffid.iam.api.Account account)
                                                  throws es.caib.seycon.ng.exception.InternalErrorException,
                                                         es.caib.seycon.ng.exception.InternalErrorException,
                                                         es.caib.seycon.ng.exception.AccountAlreadyExistsException
        Specified by:
        createAccount2 in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        es.caib.seycon.ng.exception.AccountAlreadyExistsException
      • findAccount

        @PermitAll
        public com.soffid.iam.api.Account findAccount​(String accountAndDispatcher)
                                               throws es.caib.seycon.ng.exception.InternalErrorException,
                                                      es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAccount in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findAccount

        @PermitAll
        public com.soffid.iam.api.Account findAccount​(String accountName,
                                                      String dispatcherName)
                                               throws es.caib.seycon.ng.exception.InternalErrorException,
                                                      es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAccount in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findAccountById

        @PermitAll
        public com.soffid.iam.api.Account findAccountById​(long id)
                                                   throws es.caib.seycon.ng.exception.InternalErrorException,
                                                          es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAccountById in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • generateAccountSshPrivateKey

        @PermitAll
        public com.soffid.iam.api.Account generateAccountSshPrivateKey​(com.soffid.iam.api.Account account)
                                                                throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                       es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        generateAccountSshPrivateKey in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • removeAccountSnapshot

        @PermitAll
        public com.soffid.iam.api.Account removeAccountSnapshot​(com.soffid.iam.api.Account account)
                                                         throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        removeAccountSnapshot in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • setAccountSshPrivateKey

        @PermitAll
        public com.soffid.iam.api.Account setAccountSshPrivateKey​(com.soffid.iam.api.Account account,
                                                                  String privateKey)
                                                           throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                  es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        setAccountSshPrivateKey in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • updateAccount

        @PermitAll
        public com.soffid.iam.api.Account updateAccount​(com.soffid.iam.api.Account account)
                                                 throws es.caib.seycon.ng.exception.InternalErrorException,
                                                        es.caib.seycon.ng.exception.InternalErrorException,
                                                        es.caib.seycon.ng.exception.AccountAlreadyExistsException
        Specified by:
        updateAccount in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        es.caib.seycon.ng.exception.AccountAlreadyExistsException
      • updateAccount2

        @PermitAll
        public com.soffid.iam.api.Account updateAccount2​(com.soffid.iam.api.Account account)
                                                  throws es.caib.seycon.ng.exception.InternalErrorException,
                                                         es.caib.seycon.ng.exception.InternalErrorException,
                                                         es.caib.seycon.ng.exception.AccountAlreadyExistsException
        Specified by:
        updateAccount2 in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        es.caib.seycon.ng.exception.AccountAlreadyExistsException
      • createAccountAttribute

        @PermitAll
        public com.soffid.iam.api.UserData createAccountAttribute​(com.soffid.iam.api.UserData attribute)
                                                           throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        createAccountAttribute in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • updateAccountAttribute

        @PermitAll
        public com.soffid.iam.api.UserData updateAccountAttribute​(com.soffid.iam.api.UserData attribute)
                                                           throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        updateAccountAttribute in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • generateAccountPassword

        @PermitAll
        public com.soffid.iam.api.Password generateAccountPassword​(com.soffid.iam.api.Account account)
                                                            throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                   es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        generateAccountPassword in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • generateAccountTemporaryPassword

        @PermitAll
        public com.soffid.iam.api.Password generateAccountTemporaryPassword​(com.soffid.iam.api.Account account)
                                                                     throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                            es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        generateAccountTemporaryPassword in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • queryAccountPassword

        @PermitAll
        public com.soffid.iam.api.Password queryAccountPassword​(com.soffid.iam.api.Account account)
                                                         throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        queryAccountPassword in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • queryAccountSshKey

        @PermitAll
        public com.soffid.iam.api.Password queryAccountSshKey​(com.soffid.iam.api.Account account)
                                                       throws es.caib.seycon.ng.exception.InternalErrorException,
                                                              es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        queryAccountSshKey in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • setAccountPassword

        @PermitAll
        public com.soffid.iam.api.Password setAccountPassword​(com.soffid.iam.api.Account account,
                                                              com.soffid.iam.api.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:
        setAccountPassword in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        es.caib.seycon.ng.exception.BadPasswordException
      • checkPasswordSynchronizationStatus

        @PermitAll
        public com.soffid.iam.api.PasswordValidation checkPasswordSynchronizationStatus​(com.soffid.iam.api.Account account)
                                                                                 throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                        es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        checkPasswordSynchronizationStatus in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • createAccount

        @PermitAll
        public com.soffid.iam.api.UserAccount createAccount​(com.soffid.iam.api.User usuari,
                                                            com.soffid.iam.api.System 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:
        createAccount in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        es.caib.seycon.ng.exception.NeedsAccountNameException
        es.caib.seycon.ng.exception.AccountAlreadyExistsException
      • getHPAccountOwner

        @PermitAll
        public com.soffid.iam.api.User getHPAccountOwner​(com.soffid.iam.api.Account account)
                                                  throws es.caib.seycon.ng.exception.InternalErrorException,
                                                         es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getHPAccountOwner in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • isUpdatePendingExtended

        @PermitAll
        public int isUpdatePendingExtended​(com.soffid.iam.api.Account account)
                                    throws es.caib.seycon.ng.exception.InternalErrorException,
                                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        isUpdatePendingExtended in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • guessAccountName

        @PermitAll
        public String guessAccountName​(String userName,
                                       String dispatcherName)
                                throws es.caib.seycon.ng.exception.InternalErrorException,
                                       es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        guessAccountName in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findAccountByJsonQuery

        @PermitAll
        public Collection<com.soffid.iam.api.Account> findAccountByJsonQuery​(String query)
                                                                      throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                             es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAccountByJsonQuery in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findAccountByText

        @PermitAll
        public Collection<com.soffid.iam.api.Account> findAccountByText​(String text)
                                                                 throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                        es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAccountByText in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findAccountServices

        @PermitAll
        public Collection<com.soffid.iam.api.HostService> findAccountServices​(com.soffid.iam.api.Account account)
                                                                       throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAccountServices in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getUserAccounts

        @PermitAll
        public Collection<com.soffid.iam.api.UserAccount> getUserAccounts​(com.soffid.iam.api.User usuari)
                                                                   throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                          es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getUserAccounts in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getUserGrantedAccounts

        @PermitAll
        public Collection<com.soffid.iam.api.Account> getUserGrantedAccounts​(com.soffid.iam.api.User usuari)
                                                                      throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                             es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getUserGrantedAccounts in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getUserGrantedAccounts

        @PermitAll
        public Collection<com.soffid.iam.api.Account> getUserGrantedAccounts​(com.soffid.iam.api.User usuari,
                                                                             es.caib.seycon.ng.comu.AccountAccessLevelEnum level)
                                                                      throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                             es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getUserGrantedAccounts in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findAccountsByCriteria

        @PermitAll
        public List<com.soffid.iam.api.Account> findAccountsByCriteria​(es.caib.seycon.ng.comu.AccountCriteria criteria)
                                                                throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                       es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAccountsByCriteria in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findSharedAccountsByUser

        @PermitAll
        public List<com.soffid.iam.api.Account> findSharedAccountsByUser​(String userName)
                                                                  throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findSharedAccountsByUser in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findSharedAccountsHistoryByUser

        @PermitAll
        public List<com.soffid.iam.api.AccountHistory> findSharedAccountsHistoryByUser​(String userName)
                                                                                throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findSharedAccountsHistoryByUser in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findUsersAccounts

        @PermitAll
        public List<com.soffid.iam.api.UserAccount> findUsersAccounts​(String userName,
                                                                      String dispatcherName)
                                                               throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                      es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findUsersAccounts in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findUserAccountsByDomain

        @PermitAll
        public List<com.soffid.iam.api.UserAccount> findUserAccountsByDomain​(String user,
                                                                             String passwordDomain)
                                                                      throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                             es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findUserAccountsByDomain in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getAccountAttributes

        @PermitAll
        public List<com.soffid.iam.api.UserData> getAccountAttributes​(com.soffid.iam.api.Account acc)
                                                               throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getAccountAttributes in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • listNonUserAccounts

        @PermitAll
        public List<com.soffid.iam.api.Account> listNonUserAccounts​(com.soffid.iam.api.System dispatcher,
                                                                    String nom)
                                                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        listNonUserAccounts in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • listUserAccounts

        @PermitAll
        public List<com.soffid.iam.api.UserAccount> listUserAccounts​(com.soffid.iam.api.User usuari)
                                                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                     es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        listUserAccounts in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • checkinHPAccount

        @PermitAll
        public void checkinHPAccount​(com.soffid.iam.api.Account account)
                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                     es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        checkinHPAccount in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • removeAccount

        @PermitAll
        public void removeAccount​(com.soffid.iam.api.Account account)
                           throws es.caib.seycon.ng.exception.InternalErrorException,
                                  es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        removeAccount in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • removeAccount

        @PermitAll
        public void removeAccount​(com.soffid.iam.api.UserAccount account)
                           throws es.caib.seycon.ng.exception.InternalErrorException,
                                  es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        removeAccount in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • removeAccountAttribute

        @PermitAll
        public void removeAccountAttribute​(com.soffid.iam.api.UserData attribute)
                                    throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        removeAccountAttribute in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • renameAccount

        @PermitAll
        public void renameAccount​(com.soffid.iam.api.Account account)
                           throws es.caib.seycon.ng.exception.InternalErrorException,
                                  es.caib.seycon.ng.exception.InternalErrorException,
                                  es.caib.seycon.ng.exception.AccountAlreadyExistsException
        Specified by:
        renameAccount in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        es.caib.seycon.ng.exception.AccountAlreadyExistsException
      • sendAccountPassword

        @PermitAll
        public void sendAccountPassword​(com.soffid.iam.api.Account account)
                                 throws es.caib.seycon.ng.exception.InternalErrorException,
                                        es.caib.seycon.ng.exception.InternalErrorException,
                                        es.caib.seycon.ng.exception.BadPasswordException
        Specified by:
        sendAccountPassword in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        es.caib.seycon.ng.exception.BadPasswordException
      • setAccountPassword

        @PermitAll
        public void setAccountPassword​(com.soffid.iam.api.Account account,
                                       com.soffid.iam.api.Password password)
                                throws es.caib.seycon.ng.exception.InternalErrorException,
                                       es.caib.seycon.ng.exception.InternalErrorException,
                                       es.caib.seycon.ng.exception.BadPasswordException
        Specified by:
        setAccountPassword in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        es.caib.seycon.ng.exception.BadPasswordException
      • setAccountTemporaryPassword

        @PermitAll
        public void setAccountTemporaryPassword​(com.soffid.iam.api.Account account,
                                                com.soffid.iam.api.Password password)
                                         throws es.caib.seycon.ng.exception.InternalErrorException,
                                                es.caib.seycon.ng.exception.InternalErrorException,
                                                es.caib.seycon.ng.exception.BadPasswordException
        Specified by:
        setAccountTemporaryPassword in interface com.soffid.iam.service.ejb.AccountService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        es.caib.seycon.ng.exception.BadPasswordException
      • ejbCreate

        @PostConstruct
        public void ejbCreate()
                       throws javax.ejb.CreateException
        Initizlizes been
        Overrides:
        ejbCreate in class org.springframework.ejb.support.AbstractStatelessSessionBean
        Throws:
        javax.ejb.CreateException
        See Also:
        AbstractStatelessSessionBean.onEjbCreate()
      • onEjbCreate

        protected void onEjbCreate()
        Specified by:
        onEjbCreate in class org.springframework.ejb.support.AbstractStatelessSessionBean
      • setSessionContext

        public void setSessionContext​(javax.ejb.SessionContext sessionContext)
        Override default BeanFactoryLocator implementation to provide singleton loading of the application context Bean factory.
        Specified by:
        setSessionContext in interface javax.ejb.SessionBean
        See Also:
        SessionBean.setSessionContext(javax.ejb.SessionContext)
      • getSessionContext

        public final javax.ejb.SessionContext getSessionContext()
        Specified by:
        getSessionContext in interface org.springframework.ejb.support.SmartSessionBean
      • setBeanFactoryLocator

        public void setBeanFactoryLocator​(org.springframework.beans.factory.access.BeanFactoryLocator arg0)
      • setBeanFactoryLocatorKey

        public void setBeanFactoryLocatorKey​(String arg0)
      • getBeanFactory

        protected org.springframework.beans.factory.BeanFactory getBeanFactory()
      • ejbRemove

        public void ejbRemove()
      • onEjbRemove

        protected void onEjbRemove()