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 void
checkCanSetAccountPassword(com.soffid.iam.api.Account account)
void
checkinHPAccount(com.soffid.iam.api.Account account)
com.soffid.iam.api.UserData
createSharedAccountData(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.AccessTree
findRoot()
Collection<com.soffid.iam.api.GroupUser>
findUserGroupsByUserName()
com.soffid.iam.api.Password
generateAccountTemporaryPassword(com.soffid.iam.api.Account account)
List<com.soffid.iam.api.UserData>
getAccountAttributes(com.soffid.iam.api.Account acc)
com.soffid.iam.api.Account
getAccountById(long id)
AccountEntityDao
getAccountEntityDao()
Gets reference toaccountEntityDao
.com.soffid.iam.service.AccountService
getAccountService()
Gets reference toaccountService
.com.soffid.iam.service.AdditionalDataService
getAdditionalDataService()
Gets reference todadesAddicionalsService
.com.soffid.iam.service.ApplicationService
getApplicationService()
Gets reference toaplicacioService
.com.soffid.iam.service.AuditService
getAuditService()
Gets reference toauditoriaService
.com.soffid.iam.service.AuthorizationService
getAuthorizationService()
Gets reference toautoritzacioService
.String
getClientHost()
com.soffid.iam.api.User
getCurrentUser()
com.soffid.iam.api.DataType
getDataTypeDescription(String systemName, String attName)
com.soffid.iam.api.System
getDispatcherInformation(String dispatcherCode)
com.soffid.iam.service.DispatcherService
getDispatcherService()
Gets reference todispatcherService
.com.soffid.iam.service.EntitlementDelegationService
getEntitlementDelegationService()
Gets reference toentitlementDelegationService
.com.soffid.iam.service.EntryPointService
getEntryPointService()
Gets reference topuntEntradaService
.com.soffid.iam.service.GroupService
getGroupService()
Gets reference togrupService
.InternalPasswordService
getInternalPasswordService()
Gets reference tointernalPasswordService
.MetaDataEntityDao
getMetaDataEntityDao()
Gets reference totipusDadaEntityDao
.com.soffid.iam.service.NetworkService
getNetworkService()
Gets reference toxarxaService
.PamSecurityHandlerService
getPamSecurityHandlerService()
Gets reference topamSecurityHandlerService
.protected Principal
getPrincipal()
Gets the currentprincipal
if 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()
UserDataEntityDao
getUserDataEntityDao()
Gets reference todadaUsuariEntityDao
.UserEntityDao
getUserEntityDao()
Gets reference tousuariEntityDao
.com.soffid.iam.service.UserService
getUserService()
Gets reference tousuariService
.protected abstract void
handleCheckCanSetAccountPassword(com.soffid.iam.api.Account account)
protected abstract void
handleCheckinHPAccount(com.soffid.iam.api.Account account)
protected abstract com.soffid.iam.api.UserData
handleCreateSharedAccountData(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.AccessTree
handleFindRoot()
protected abstract Collection<com.soffid.iam.api.GroupUser>
handleFindUserGroupsByUserName()
protected abstract com.soffid.iam.api.Password
handleGenerateAccountTemporaryPassword(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.Account
handleGetAccountById(long id)
protected abstract String
handleGetClientHost()
protected abstract com.soffid.iam.api.User
handleGetCurrentUser()
protected abstract com.soffid.iam.api.DataType
handleGetDataTypeDescription(String systemName, String attName)
protected abstract com.soffid.iam.api.System
handleGetDispatcherInformation(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.PasswordStatus
handlePasswordsStatus(com.soffid.iam.api.Account account)
protected abstract com.soffid.iam.api.Password
handleQueryAccountPassword(com.soffid.iam.api.Account account)
protected abstract com.soffid.iam.api.Password
handleQueryAccountPasswordBypassPolicy(com.soffid.iam.api.Account account)
protected abstract com.soffid.iam.api.Password
handleQueryAccountSshKey(com.soffid.iam.api.Account account)
protected abstract com.soffid.iam.api.Password
handleQueryAccountSshKeyBypassPolicy(com.soffid.iam.api.Account account)
protected abstract String
handleQueryOtherAffectedAccounts(com.soffid.iam.api.Account account)
protected abstract void
handleSetAccountPassword(com.soffid.iam.api.Account account, com.soffid.iam.api.Password password)
protected abstract boolean
handleSetHPAccountPassword(com.soffid.iam.api.Account account, com.soffid.iam.api.Password password, Date untilDate, boolean force)
protected abstract com.soffid.iam.api.Account
handleUpdateSharedAccount(com.soffid.iam.api.Account account)
protected abstract com.soffid.iam.api.UserData
handleUpdateSharedAccountData(com.soffid.iam.api.UserData data)
protected abstract com.soffid.iam.api.UserData
handleUpdateUserAttribute(com.soffid.iam.api.UserData attribute)
com.soffid.iam.api.PasswordStatus
passwordsStatus(com.soffid.iam.api.Account account)
com.soffid.iam.api.Password
queryAccountPassword(com.soffid.iam.api.Account account)
com.soffid.iam.api.Password
queryAccountPasswordBypassPolicy(com.soffid.iam.api.Account account)
com.soffid.iam.api.Password
queryAccountSshKey(com.soffid.iam.api.Account account)
com.soffid.iam.api.Password
queryAccountSshKeyBypassPolicy(com.soffid.iam.api.Account account)
String
queryOtherAffectedAccounts(com.soffid.iam.api.Account account)
void
setAccountEntityDao(AccountEntityDao accountEntityDao)
Sets reference toaccountEntityDao
.void
setAccountPassword(com.soffid.iam.api.Account account, com.soffid.iam.api.Password password)
void
setAccountService(com.soffid.iam.service.AccountService accountService)
Sets reference toaccountService
.void
setAdditionalDataService(com.soffid.iam.service.AdditionalDataService dadesAddicionalsService)
Sets reference todadesAddicionalsService
.void
setApplicationService(com.soffid.iam.service.ApplicationService aplicacioService)
Sets reference toaplicacioService
.void
setAuditService(com.soffid.iam.service.AuditService auditoriaService)
Sets reference toauditoriaService
.void
setAuthorizationService(com.soffid.iam.service.AuthorizationService autoritzacioService)
Sets reference toautoritzacioService
.void
setDispatcherService(com.soffid.iam.service.DispatcherService dispatcherService)
Sets reference todispatcherService
.void
setEntitlementDelegationService(com.soffid.iam.service.EntitlementDelegationService entitlementDelegationService)
Sets reference toentitlementDelegationService
.void
setEntryPointService(com.soffid.iam.service.EntryPointService puntEntradaService)
Sets reference topuntEntradaService
.void
setGroupService(com.soffid.iam.service.GroupService grupService)
Sets reference togrupService
.boolean
setHPAccountPassword(com.soffid.iam.api.Account account, com.soffid.iam.api.Password password, Date untilDate, boolean force)
void
setInternalPasswordService(InternalPasswordService internalPasswordService)
Sets reference tointernalPasswordService
.void
setMetaDataEntityDao(MetaDataEntityDao tipusDadaEntityDao)
Sets reference totipusDadaEntityDao
.void
setNetworkService(com.soffid.iam.service.NetworkService xarxaService)
Sets reference toxarxaService
.void
setPamSecurityHandlerService(PamSecurityHandlerService pamSecurityHandlerService)
Sets reference topamSecurityHandlerService
.void
setUserDataEntityDao(UserDataEntityDao dadaUsuariEntityDao)
Sets reference todadaUsuariEntityDao
.void
setUserEntityDao(UserEntityDao usuariEntityDao)
Sets reference tousuariEntityDao
.void
setUserService(com.soffid.iam.service.UserService usuariService)
Sets reference tousuariService
.com.soffid.iam.api.Account
updateSharedAccount(com.soffid.iam.api.Account account)
com.soffid.iam.api.UserData
updateSharedAccountData(com.soffid.iam.api.UserData data)
com.soffid.iam.api.UserData
updateUserAttribute(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:
setHPAccountPassword
in 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:
getAccountById
in 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:
updateSharedAccount
in 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:
createSharedAccountData
in 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:
updateSharedAccountData
in 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:
updateUserAttribute
in 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:
getDispatcherInformation
in 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:
passwordsStatus
in 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:
generateAccountTemporaryPassword
in 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:
queryAccountPassword
in 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:
queryAccountPasswordBypassPolicy
in 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:
queryAccountSshKey
in 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:
queryAccountSshKeyBypassPolicy
in 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:
findRoot
in 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:
getDataTypeDescription
in 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:
getCurrentUser
in 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:
getClientHost
in 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:
queryOtherAffectedAccounts
in 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:
findChildren
in 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:
findEntryPoints
in 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:
findRoleAccounts
in 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:
findUserGroupsByUserName
in 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:
getUserAccounts
in 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:
getUserAttributes
in 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:
getAccountAttributes
in 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:
getSharedAccounts
in 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:
checkCanSetAccountPassword
in 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:
checkinHPAccount
in 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:
setAccountPassword
in 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 currentprincipal
if one has been set, otherwise returnsnull
.- Returns:
- the current principal
-
-