Class SelfServiceBase

  • All Implemented Interfaces:
    com.soffid.iam.service.SelfService
    Direct Known Subclasses:
    SelfServiceImpl

    public abstract class SelfServiceBase
    extends Object
    implements com.soffid.iam.service.SelfService

    Spring Service base class for com.soffid.iam.service.SelfService, provides access to all services and entities referenced by this service.

    see com.soffid.iam.service.SelfService
    • Constructor Detail

      • SelfServiceBase

        public SelfServiceBase()
    • Method Detail

      • setAccountEntityDao

        public void setAccountEntityDao​(AccountEntityDao accountEntityDao)
        Sets reference to accountEntityDao.
      • getAccountEntityDao

        public AccountEntityDao getAccountEntityDao()
        Gets reference to accountEntityDao.
      • setAccountService

        public void setAccountService​(com.soffid.iam.service.AccountService accountService)
        Sets reference to accountService.
      • getAccountService

        public com.soffid.iam.service.AccountService getAccountService()
        Gets reference to accountService.
      • setApplicationService

        public void setApplicationService​(com.soffid.iam.service.ApplicationService aplicacioService)
        Sets reference to aplicacioService.
      • getApplicationService

        public com.soffid.iam.service.ApplicationService getApplicationService()
        Gets reference to aplicacioService.
      • setAuditService

        public void setAuditService​(com.soffid.iam.service.AuditService auditoriaService)
        Sets reference to auditoriaService.
      • getAuditService

        public com.soffid.iam.service.AuditService getAuditService()
        Gets reference to auditoriaService.
      • setAuthorizationService

        public void setAuthorizationService​(com.soffid.iam.service.AuthorizationService autoritzacioService)
        Sets reference to autoritzacioService.
      • getAuthorizationService

        public com.soffid.iam.service.AuthorizationService getAuthorizationService()
        Gets reference to autoritzacioService.
      • setUserDataEntityDao

        public void setUserDataEntityDao​(UserDataEntityDao dadaUsuariEntityDao)
        Sets reference to dadaUsuariEntityDao.
      • getUserDataEntityDao

        public UserDataEntityDao getUserDataEntityDao()
        Gets reference to dadaUsuariEntityDao.
      • setAdditionalDataService

        public void setAdditionalDataService​(com.soffid.iam.service.AdditionalDataService dadesAddicionalsService)
        Sets reference to dadesAddicionalsService.
      • getAdditionalDataService

        public com.soffid.iam.service.AdditionalDataService getAdditionalDataService()
        Gets reference to dadesAddicionalsService.
      • setDispatcherService

        public void setDispatcherService​(com.soffid.iam.service.DispatcherService dispatcherService)
        Sets reference to dispatcherService.
      • getDispatcherService

        public com.soffid.iam.service.DispatcherService getDispatcherService()
        Gets reference to dispatcherService.
      • setEntitlementDelegationService

        public void setEntitlementDelegationService​(com.soffid.iam.service.EntitlementDelegationService entitlementDelegationService)
        Sets reference to entitlementDelegationService.
      • getEntitlementDelegationService

        public com.soffid.iam.service.EntitlementDelegationService getEntitlementDelegationService()
        Gets reference to entitlementDelegationService.
      • setGroupService

        public void setGroupService​(com.soffid.iam.service.GroupService grupService)
        Sets reference to grupService.
      • getGroupService

        public com.soffid.iam.service.GroupService getGroupService()
        Gets reference to grupService.
      • setInternalPasswordService

        public void setInternalPasswordService​(InternalPasswordService internalPasswordService)
        Sets reference to internalPasswordService.
      • getInternalPasswordService

        public InternalPasswordService getInternalPasswordService()
        Gets reference to internalPasswordService.
      • setPamSecurityHandlerService

        public void setPamSecurityHandlerService​(PamSecurityHandlerService pamSecurityHandlerService)
        Sets reference to pamSecurityHandlerService.
      • getPamSecurityHandlerService

        public PamSecurityHandlerService getPamSecurityHandlerService()
        Gets reference to pamSecurityHandlerService.
      • setEntryPointService

        public void setEntryPointService​(com.soffid.iam.service.EntryPointService puntEntradaService)
        Sets reference to puntEntradaService.
      • getEntryPointService

        public com.soffid.iam.service.EntryPointService getEntryPointService()
        Gets reference to puntEntradaService.
      • setMetaDataEntityDao

        public void setMetaDataEntityDao​(MetaDataEntityDao tipusDadaEntityDao)
        Sets reference to tipusDadaEntityDao.
      • getMetaDataEntityDao

        public MetaDataEntityDao getMetaDataEntityDao()
        Gets reference to tipusDadaEntityDao.
      • setUserEntityDao

        public void setUserEntityDao​(UserEntityDao usuariEntityDao)
        Sets reference to usuariEntityDao.
      • getUserEntityDao

        public UserEntityDao getUserEntityDao()
        Gets reference to usuariEntityDao.
      • setUserService

        public void setUserService​(com.soffid.iam.service.UserService usuariService)
        Sets reference to usuariService.
      • getUserService

        public com.soffid.iam.service.UserService getUserService()
        Gets reference to usuariService.
      • setNetworkService

        public void setNetworkService​(com.soffid.iam.service.NetworkService xarxaService)
        Sets reference to xarxaService.
      • getNetworkService

        public com.soffid.iam.service.NetworkService getNetworkService()
        Gets reference to xarxaService.
      • setHPAccountPassword

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.SelfService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleSetHPAccountPassword

        protected abstract boolean handleSetHPAccountPassword​(com.soffid.iam.api.Account account,
                                                              com.soffid.iam.api.Password password,
                                                              Date untilDate,
                                                              boolean force)
                                                       throws Exception
        Throws:
        Exception
      • getAccountById

        @Transactional(rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.Account getAccountById​(long id)
                                                  throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getAccountById in interface com.soffid.iam.service.SelfService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGetAccountById

        protected abstract com.soffid.iam.api.Account handleGetAccountById​(long id)
                                                                    throws Exception
        Throws:
        Exception
      • updateSharedAccount

        @Transactional(rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.Account updateSharedAccount​(com.soffid.iam.api.Account account)
                                                       throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        updateSharedAccount in interface com.soffid.iam.service.SelfService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleUpdateSharedAccount

        protected abstract com.soffid.iam.api.Account handleUpdateSharedAccount​(com.soffid.iam.api.Account account)
                                                                         throws Exception
        Throws:
        Exception
      • createSharedAccountData

        @Transactional(rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.UserData createSharedAccountData​(com.soffid.iam.api.UserData data)
                                                            throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        createSharedAccountData in interface com.soffid.iam.service.SelfService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleCreateSharedAccountData

        protected abstract com.soffid.iam.api.UserData handleCreateSharedAccountData​(com.soffid.iam.api.UserData data)
                                                                              throws Exception
        Throws:
        Exception
      • updateSharedAccountData

        @Transactional(rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.UserData updateSharedAccountData​(com.soffid.iam.api.UserData data)
                                                            throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        updateSharedAccountData in interface com.soffid.iam.service.SelfService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleUpdateSharedAccountData

        protected abstract com.soffid.iam.api.UserData handleUpdateSharedAccountData​(com.soffid.iam.api.UserData data)
                                                                              throws Exception
        Throws:
        Exception
      • updateUserAttribute

        @Transactional(rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.UserData updateUserAttribute​(com.soffid.iam.api.UserData attribute)
                                                        throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        updateUserAttribute in interface com.soffid.iam.service.SelfService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleUpdateUserAttribute

        protected abstract com.soffid.iam.api.UserData handleUpdateUserAttribute​(com.soffid.iam.api.UserData attribute)
                                                                          throws Exception
        Throws:
        Exception
      • getDispatcherInformation

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.System getDispatcherInformation​(String dispatcherCode)
                                                           throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                  es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getDispatcherInformation in interface com.soffid.iam.service.SelfService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGetDispatcherInformation

        protected abstract com.soffid.iam.api.System handleGetDispatcherInformation​(String dispatcherCode)
                                                                             throws Exception
        Throws:
        Exception
      • passwordsStatus

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.PasswordStatus passwordsStatus​(com.soffid.iam.api.Account account)
                                                          throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                 es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        passwordsStatus in interface com.soffid.iam.service.SelfService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handlePasswordsStatus

        protected abstract com.soffid.iam.api.PasswordStatus handlePasswordsStatus​(com.soffid.iam.api.Account account)
                                                                            throws Exception
        Throws:
        Exception
      • generateAccountTemporaryPassword

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.SelfService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGenerateAccountTemporaryPassword

        protected abstract com.soffid.iam.api.Password handleGenerateAccountTemporaryPassword​(com.soffid.iam.api.Account account)
                                                                                       throws Exception
        Throws:
        Exception
      • queryAccountPassword

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.SelfService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleQueryAccountPassword

        protected abstract com.soffid.iam.api.Password handleQueryAccountPassword​(com.soffid.iam.api.Account account)
                                                                           throws Exception
        Throws:
        Exception
      • queryAccountPasswordBypassPolicy

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.Password queryAccountPasswordBypassPolicy​(com.soffid.iam.api.Account account)
                                                                     throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                            es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        queryAccountPasswordBypassPolicy in interface com.soffid.iam.service.SelfService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleQueryAccountPasswordBypassPolicy

        protected abstract com.soffid.iam.api.Password handleQueryAccountPasswordBypassPolicy​(com.soffid.iam.api.Account account)
                                                                                       throws Exception
        Throws:
        Exception
      • queryAccountSshKey

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.SelfService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleQueryAccountSshKey

        protected abstract com.soffid.iam.api.Password handleQueryAccountSshKey​(com.soffid.iam.api.Account account)
                                                                         throws Exception
        Throws:
        Exception
      • queryAccountSshKeyBypassPolicy

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.Password queryAccountSshKeyBypassPolicy​(com.soffid.iam.api.Account account)
                                                                   throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                          es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        queryAccountSshKeyBypassPolicy in interface com.soffid.iam.service.SelfService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleQueryAccountSshKeyBypassPolicy

        protected abstract com.soffid.iam.api.Password handleQueryAccountSshKeyBypassPolicy​(com.soffid.iam.api.Account account)
                                                                                     throws Exception
        Throws:
        Exception
      • findRoot

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.AccessTree findRoot()
                                               throws es.caib.seycon.ng.exception.InternalErrorException,
                                                      es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoot in interface com.soffid.iam.service.SelfService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoot

        protected abstract com.soffid.iam.api.AccessTree handleFindRoot()
                                                                 throws Exception
        Throws:
        Exception
      • getDataTypeDescription

        @Transactional(rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.DataType getDataTypeDescription​(String systemName,
                                                                  String attName)
                                                           throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getDataTypeDescription in interface com.soffid.iam.service.SelfService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGetDataTypeDescription

        protected abstract com.soffid.iam.api.DataType handleGetDataTypeDescription​(String systemName,
                                                                                    String attName)
                                                                             throws Exception
        Throws:
        Exception
      • getCurrentUser

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.User getCurrentUser()
                                               throws es.caib.seycon.ng.exception.InternalErrorException,
                                                      es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getCurrentUser in interface com.soffid.iam.service.SelfService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGetCurrentUser

        protected abstract com.soffid.iam.api.User handleGetCurrentUser()
                                                                 throws Exception
        Throws:
        Exception
      • getClientHost

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public String getClientHost()
                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getClientHost in interface com.soffid.iam.service.SelfService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • queryOtherAffectedAccounts

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public String queryOtherAffectedAccounts​(com.soffid.iam.api.Account account)
                                          throws es.caib.seycon.ng.exception.InternalErrorException,
                                                 es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        queryOtherAffectedAccounts in interface com.soffid.iam.service.SelfService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleQueryOtherAffectedAccounts

        protected abstract String handleQueryOtherAffectedAccounts​(com.soffid.iam.api.Account account)
                                                            throws Exception
        Throws:
        Exception
      • findChildren

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<com.soffid.iam.api.AccessTree> findChildren​(com.soffid.iam.api.AccessTree puntEntrada)
                                                               throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                      es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findChildren in interface com.soffid.iam.service.SelfService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindChildren

        protected abstract Collection<com.soffid.iam.api.AccessTree> handleFindChildren​(com.soffid.iam.api.AccessTree puntEntrada)
                                                                                 throws Exception
        Throws:
        Exception
      • findEntryPoints

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<com.soffid.iam.api.AccessTree> findEntryPoints​(String name)
                                                                  throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                         es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findEntryPoints in interface com.soffid.iam.service.SelfService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRoleAccounts

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<com.soffid.iam.api.RoleAccount> findRoleAccounts()
                                                                    throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleAccounts in interface com.soffid.iam.service.SelfService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleAccounts

        protected abstract Collection<com.soffid.iam.api.RoleAccount> handleFindRoleAccounts()
                                                                                      throws Exception
        Throws:
        Exception
      • findUserGroupsByUserName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<com.soffid.iam.api.GroupUser> findUserGroupsByUserName()
                                                                          throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                 es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findUserGroupsByUserName in interface com.soffid.iam.service.SelfService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindUserGroupsByUserName

        protected abstract Collection<com.soffid.iam.api.GroupUser> handleFindUserGroupsByUserName()
                                                                                            throws Exception
        Throws:
        Exception
      • getUserAccounts

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<com.soffid.iam.api.Account> getUserAccounts()
                                                               throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                      es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getUserAccounts in interface com.soffid.iam.service.SelfService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGetUserAccounts

        protected abstract Collection<com.soffid.iam.api.Account> handleGetUserAccounts()
                                                                                 throws Exception
        Throws:
        Exception
      • getUserAttributes

        @Transactional(rollbackFor=java.lang.Exception.class)
        public Collection<com.soffid.iam.api.UserData> getUserAttributes()
                                                                  throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getUserAttributes in interface com.soffid.iam.service.SelfService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGetUserAttributes

        protected abstract Collection<com.soffid.iam.api.UserData> handleGetUserAttributes()
                                                                                    throws Exception
        Throws:
        Exception
      • getAccountAttributes

        @Transactional(rollbackFor=java.lang.Exception.class)
        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.SelfService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGetAccountAttributes

        protected abstract List<com.soffid.iam.api.UserData> handleGetAccountAttributes​(com.soffid.iam.api.Account acc)
                                                                                 throws Exception
        Throws:
        Exception
      • getSharedAccounts

        @Transactional(rollbackFor=java.lang.Exception.class)
        public List<com.soffid.iam.api.Account> getSharedAccounts​(String filter)
                                                           throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getSharedAccounts in interface com.soffid.iam.service.SelfService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGetSharedAccounts

        protected abstract List<com.soffid.iam.api.Account> handleGetSharedAccounts​(String filter)
                                                                             throws Exception
        Throws:
        Exception
      • checkCanSetAccountPassword

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void checkCanSetAccountPassword​(com.soffid.iam.api.Account account)
                                        throws es.caib.seycon.ng.exception.InternalErrorException,
                                               es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        checkCanSetAccountPassword in interface com.soffid.iam.service.SelfService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleCheckCanSetAccountPassword

        protected abstract void handleCheckCanSetAccountPassword​(com.soffid.iam.api.Account account)
                                                          throws Exception
        Throws:
        Exception
      • checkinHPAccount

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.SelfService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleCheckinHPAccount

        protected abstract void handleCheckinHPAccount​(com.soffid.iam.api.Account account)
                                                throws Exception
        Throws:
        Exception
      • setAccountPassword

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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
        Specified by:
        setAccountPassword in interface com.soffid.iam.service.SelfService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleSetAccountPassword

        protected abstract void handleSetAccountPassword​(com.soffid.iam.api.Account account,
                                                         com.soffid.iam.api.Password password)
                                                  throws Exception
        Throws:
        Exception
      • getPrincipal

        protected Principal getPrincipal()
        Gets the current principal if one has been set, otherwise returns null.
        Returns:
        the current principal