Package com.soffid.iam.service
Class SelfServiceBase
- java.lang.Object
-
- com.soffid.iam.service.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
see com.soffid.iam.service.SelfServicecom.soffid.iam.service.SelfService, provides access to all services and entities referenced by this service.
-
-
Constructor Summary
Constructors Constructor Description SelfServiceBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcheckCanSetAccountPassword(com.soffid.iam.api.Account account)voidcheckinHPAccount(com.soffid.iam.api.Account account)com.soffid.iam.api.UserDatacreateSharedAccountData(com.soffid.iam.api.UserData data)Collection<com.soffid.iam.api.AccessTree>findChildren(com.soffid.iam.api.AccessTree puntEntrada)Collection<com.soffid.iam.api.AccessTree>findEntryPoints(String name)Collection<com.soffid.iam.api.RoleAccount>findRoleAccounts()com.soffid.iam.api.AccessTreefindRoot()Collection<com.soffid.iam.api.GroupUser>findUserGroupsByUserName()com.soffid.iam.api.PasswordgenerateAccountTemporaryPassword(com.soffid.iam.api.Account account)List<com.soffid.iam.api.UserData>getAccountAttributes(com.soffid.iam.api.Account acc)com.soffid.iam.api.AccountgetAccountById(long id)AccountEntityDaogetAccountEntityDao()Gets reference toaccountEntityDao.com.soffid.iam.service.AccountServicegetAccountService()Gets reference toaccountService.com.soffid.iam.service.AdditionalDataServicegetAdditionalDataService()Gets reference todadesAddicionalsService.com.soffid.iam.service.ApplicationServicegetApplicationService()Gets reference toaplicacioService.com.soffid.iam.service.AuditServicegetAuditService()Gets reference toauditoriaService.com.soffid.iam.service.AuthorizationServicegetAuthorizationService()Gets reference toautoritzacioService.StringgetClientHost()com.soffid.iam.api.UsergetCurrentUser()com.soffid.iam.api.DataTypegetDataTypeDescription(String systemName, String attName)com.soffid.iam.api.SystemgetDispatcherInformation(String dispatcherCode)com.soffid.iam.service.DispatcherServicegetDispatcherService()Gets reference todispatcherService.com.soffid.iam.service.EntitlementDelegationServicegetEntitlementDelegationService()Gets reference toentitlementDelegationService.com.soffid.iam.service.EntryPointServicegetEntryPointService()Gets reference topuntEntradaService.com.soffid.iam.service.GroupServicegetGroupService()Gets reference togrupService.InternalPasswordServicegetInternalPasswordService()Gets reference tointernalPasswordService.MetaDataEntityDaogetMetaDataEntityDao()Gets reference totipusDadaEntityDao.com.soffid.iam.service.NetworkServicegetNetworkService()Gets reference toxarxaService.PamSecurityHandlerServicegetPamSecurityHandlerService()Gets reference topamSecurityHandlerService.protected PrincipalgetPrincipal()Gets the currentprincipalif one has been set, otherwise returnsnull.List<com.soffid.iam.api.Account>getSharedAccounts(String filter)Collection<com.soffid.iam.api.Account>getUserAccounts()Collection<com.soffid.iam.api.UserData>getUserAttributes()UserDataEntityDaogetUserDataEntityDao()Gets reference todadaUsuariEntityDao.UserEntityDaogetUserEntityDao()Gets reference tousuariEntityDao.com.soffid.iam.service.UserServicegetUserService()Gets reference tousuariService.protected abstract voidhandleCheckCanSetAccountPassword(com.soffid.iam.api.Account account)protected abstract voidhandleCheckinHPAccount(com.soffid.iam.api.Account account)protected abstract com.soffid.iam.api.UserDatahandleCreateSharedAccountData(com.soffid.iam.api.UserData data)protected abstract Collection<com.soffid.iam.api.AccessTree>handleFindChildren(com.soffid.iam.api.AccessTree puntEntrada)protected abstract Collection<com.soffid.iam.api.AccessTree>handleFindEntryPoints(String name)protected abstract Collection<com.soffid.iam.api.RoleAccount>handleFindRoleAccounts()protected abstract com.soffid.iam.api.AccessTreehandleFindRoot()protected abstract Collection<com.soffid.iam.api.GroupUser>handleFindUserGroupsByUserName()protected abstract com.soffid.iam.api.PasswordhandleGenerateAccountTemporaryPassword(com.soffid.iam.api.Account account)protected abstract List<com.soffid.iam.api.UserData>handleGetAccountAttributes(com.soffid.iam.api.Account acc)protected abstract com.soffid.iam.api.AccounthandleGetAccountById(long id)protected abstract StringhandleGetClientHost()protected abstract com.soffid.iam.api.UserhandleGetCurrentUser()protected abstract com.soffid.iam.api.DataTypehandleGetDataTypeDescription(String systemName, String attName)protected abstract com.soffid.iam.api.SystemhandleGetDispatcherInformation(String dispatcherCode)protected abstract List<com.soffid.iam.api.Account>handleGetSharedAccounts(String filter)protected abstract Collection<com.soffid.iam.api.Account>handleGetUserAccounts()protected abstract Collection<com.soffid.iam.api.UserData>handleGetUserAttributes()protected abstract com.soffid.iam.api.PasswordStatushandlePasswordsStatus(com.soffid.iam.api.Account account)protected abstract com.soffid.iam.api.PasswordhandleQueryAccountPassword(com.soffid.iam.api.Account account)protected abstract com.soffid.iam.api.PasswordhandleQueryAccountPasswordBypassPolicy(com.soffid.iam.api.Account account)protected abstract com.soffid.iam.api.PasswordhandleQueryAccountSshKey(com.soffid.iam.api.Account account)protected abstract com.soffid.iam.api.PasswordhandleQueryAccountSshKeyBypassPolicy(com.soffid.iam.api.Account account)protected abstract StringhandleQueryOtherAffectedAccounts(com.soffid.iam.api.Account account)protected abstract voidhandleSetAccountPassword(com.soffid.iam.api.Account account, com.soffid.iam.api.Password password)protected abstract booleanhandleSetHPAccountPassword(com.soffid.iam.api.Account account, com.soffid.iam.api.Password password, Date untilDate, boolean force)protected abstract com.soffid.iam.api.AccounthandleUpdateSharedAccount(com.soffid.iam.api.Account account)protected abstract com.soffid.iam.api.UserDatahandleUpdateSharedAccountData(com.soffid.iam.api.UserData data)protected abstract com.soffid.iam.api.UserDatahandleUpdateUserAttribute(com.soffid.iam.api.UserData attribute)com.soffid.iam.api.PasswordStatuspasswordsStatus(com.soffid.iam.api.Account account)com.soffid.iam.api.PasswordqueryAccountPassword(com.soffid.iam.api.Account account)com.soffid.iam.api.PasswordqueryAccountPasswordBypassPolicy(com.soffid.iam.api.Account account)com.soffid.iam.api.PasswordqueryAccountSshKey(com.soffid.iam.api.Account account)com.soffid.iam.api.PasswordqueryAccountSshKeyBypassPolicy(com.soffid.iam.api.Account account)StringqueryOtherAffectedAccounts(com.soffid.iam.api.Account account)voidsetAccountEntityDao(AccountEntityDao accountEntityDao)Sets reference toaccountEntityDao.voidsetAccountPassword(com.soffid.iam.api.Account account, com.soffid.iam.api.Password password)voidsetAccountService(com.soffid.iam.service.AccountService accountService)Sets reference toaccountService.voidsetAdditionalDataService(com.soffid.iam.service.AdditionalDataService dadesAddicionalsService)Sets reference todadesAddicionalsService.voidsetApplicationService(com.soffid.iam.service.ApplicationService aplicacioService)Sets reference toaplicacioService.voidsetAuditService(com.soffid.iam.service.AuditService auditoriaService)Sets reference toauditoriaService.voidsetAuthorizationService(com.soffid.iam.service.AuthorizationService autoritzacioService)Sets reference toautoritzacioService.voidsetDispatcherService(com.soffid.iam.service.DispatcherService dispatcherService)Sets reference todispatcherService.voidsetEntitlementDelegationService(com.soffid.iam.service.EntitlementDelegationService entitlementDelegationService)Sets reference toentitlementDelegationService.voidsetEntryPointService(com.soffid.iam.service.EntryPointService puntEntradaService)Sets reference topuntEntradaService.voidsetGroupService(com.soffid.iam.service.GroupService grupService)Sets reference togrupService.booleansetHPAccountPassword(com.soffid.iam.api.Account account, com.soffid.iam.api.Password password, Date untilDate, boolean force)voidsetInternalPasswordService(InternalPasswordService internalPasswordService)Sets reference tointernalPasswordService.voidsetMetaDataEntityDao(MetaDataEntityDao tipusDadaEntityDao)Sets reference totipusDadaEntityDao.voidsetNetworkService(com.soffid.iam.service.NetworkService xarxaService)Sets reference toxarxaService.voidsetPamSecurityHandlerService(PamSecurityHandlerService pamSecurityHandlerService)Sets reference topamSecurityHandlerService.voidsetUserDataEntityDao(UserDataEntityDao dadaUsuariEntityDao)Sets reference todadaUsuariEntityDao.voidsetUserEntityDao(UserEntityDao usuariEntityDao)Sets reference tousuariEntityDao.voidsetUserService(com.soffid.iam.service.UserService usuariService)Sets reference tousuariService.com.soffid.iam.api.AccountupdateSharedAccount(com.soffid.iam.api.Account account)com.soffid.iam.api.UserDataupdateSharedAccountData(com.soffid.iam.api.UserData data)com.soffid.iam.api.UserDataupdateUserAttribute(com.soffid.iam.api.UserData attribute)
-
-
-
Method Detail
-
setAccountEntityDao
public void setAccountEntityDao(AccountEntityDao accountEntityDao)
Sets reference toaccountEntityDao.
-
getAccountEntityDao
public AccountEntityDao getAccountEntityDao()
Gets reference toaccountEntityDao.
-
setAccountService
public void setAccountService(com.soffid.iam.service.AccountService accountService)
Sets reference toaccountService.
-
getAccountService
public com.soffid.iam.service.AccountService getAccountService()
Gets reference toaccountService.
-
setApplicationService
public void setApplicationService(com.soffid.iam.service.ApplicationService aplicacioService)
Sets reference toaplicacioService.
-
getApplicationService
public com.soffid.iam.service.ApplicationService getApplicationService()
Gets reference toaplicacioService.
-
setAuditService
public void setAuditService(com.soffid.iam.service.AuditService auditoriaService)
Sets reference toauditoriaService.
-
getAuditService
public com.soffid.iam.service.AuditService getAuditService()
Gets reference toauditoriaService.
-
setAuthorizationService
public void setAuthorizationService(com.soffid.iam.service.AuthorizationService autoritzacioService)
Sets reference toautoritzacioService.
-
getAuthorizationService
public com.soffid.iam.service.AuthorizationService getAuthorizationService()
Gets reference toautoritzacioService.
-
setUserDataEntityDao
public void setUserDataEntityDao(UserDataEntityDao dadaUsuariEntityDao)
Sets reference todadaUsuariEntityDao.
-
getUserDataEntityDao
public UserDataEntityDao getUserDataEntityDao()
Gets reference todadaUsuariEntityDao.
-
setAdditionalDataService
public void setAdditionalDataService(com.soffid.iam.service.AdditionalDataService dadesAddicionalsService)
Sets reference todadesAddicionalsService.
-
getAdditionalDataService
public com.soffid.iam.service.AdditionalDataService getAdditionalDataService()
Gets reference todadesAddicionalsService.
-
setDispatcherService
public void setDispatcherService(com.soffid.iam.service.DispatcherService dispatcherService)
Sets reference todispatcherService.
-
getDispatcherService
public com.soffid.iam.service.DispatcherService getDispatcherService()
Gets reference todispatcherService.
-
setEntitlementDelegationService
public void setEntitlementDelegationService(com.soffid.iam.service.EntitlementDelegationService entitlementDelegationService)
Sets reference toentitlementDelegationService.
-
getEntitlementDelegationService
public com.soffid.iam.service.EntitlementDelegationService getEntitlementDelegationService()
Gets reference toentitlementDelegationService.
-
setGroupService
public void setGroupService(com.soffid.iam.service.GroupService grupService)
Sets reference togrupService.
-
getGroupService
public com.soffid.iam.service.GroupService getGroupService()
Gets reference togrupService.
-
setInternalPasswordService
public void setInternalPasswordService(InternalPasswordService internalPasswordService)
Sets reference tointernalPasswordService.
-
getInternalPasswordService
public InternalPasswordService getInternalPasswordService()
Gets reference tointernalPasswordService.
-
setPamSecurityHandlerService
public void setPamSecurityHandlerService(PamSecurityHandlerService pamSecurityHandlerService)
Sets reference topamSecurityHandlerService.
-
getPamSecurityHandlerService
public PamSecurityHandlerService getPamSecurityHandlerService()
Gets reference topamSecurityHandlerService.
-
setEntryPointService
public void setEntryPointService(com.soffid.iam.service.EntryPointService puntEntradaService)
Sets reference topuntEntradaService.
-
getEntryPointService
public com.soffid.iam.service.EntryPointService getEntryPointService()
Gets reference topuntEntradaService.
-
setMetaDataEntityDao
public void setMetaDataEntityDao(MetaDataEntityDao tipusDadaEntityDao)
Sets reference totipusDadaEntityDao.
-
getMetaDataEntityDao
public MetaDataEntityDao getMetaDataEntityDao()
Gets reference totipusDadaEntityDao.
-
setUserEntityDao
public void setUserEntityDao(UserEntityDao usuariEntityDao)
Sets reference tousuariEntityDao.
-
getUserEntityDao
public UserEntityDao getUserEntityDao()
Gets reference tousuariEntityDao.
-
setUserService
public void setUserService(com.soffid.iam.service.UserService usuariService)
Sets reference tousuariService.
-
getUserService
public com.soffid.iam.service.UserService getUserService()
Gets reference tousuariService.
-
setNetworkService
public void setNetworkService(com.soffid.iam.service.NetworkService xarxaService)
Sets reference toxarxaService.
-
getNetworkService
public com.soffid.iam.service.NetworkService getNetworkService()
Gets reference toxarxaService.
-
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:
setHPAccountPasswordin interfacecom.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:
getAccountByIdin interfacecom.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:
updateSharedAccountin interfacecom.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:
createSharedAccountDatain interfacecom.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:
updateSharedAccountDatain interfacecom.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:
updateUserAttributein interfacecom.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:
getDispatcherInformationin interfacecom.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:
passwordsStatusin interfacecom.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:
generateAccountTemporaryPasswordin interfacecom.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:
queryAccountPasswordin interfacecom.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:
queryAccountPasswordBypassPolicyin interfacecom.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:
queryAccountSshKeyin interfacecom.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:
queryAccountSshKeyBypassPolicyin interfacecom.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:
findRootin interfacecom.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:
getDataTypeDescriptionin interfacecom.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:
getCurrentUserin interfacecom.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:
getClientHostin interfacecom.soffid.iam.service.SelfService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetClientHost
protected abstract String handleGetClientHost() throws Exception
- Throws:
Exception
-
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:
queryOtherAffectedAccountsin interfacecom.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:
findChildrenin interfacecom.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:
findEntryPointsin interfacecom.soffid.iam.service.SelfService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindEntryPoints
protected abstract Collection<com.soffid.iam.api.AccessTree> handleFindEntryPoints(String name) throws Exception
- Throws:
Exception
-
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:
findRoleAccountsin interfacecom.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:
findUserGroupsByUserNamein interfacecom.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:
getUserAccountsin interfacecom.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:
getUserAttributesin interfacecom.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:
getAccountAttributesin interfacecom.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:
getSharedAccountsin interfacecom.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:
checkCanSetAccountPasswordin interfacecom.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:
checkinHPAccountin interfacecom.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:
setAccountPasswordin interfacecom.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 currentprincipalif one has been set, otherwise returnsnull.- Returns:
- the current principal
-
-