Package com.soffid.iam.service
Class SelfServiceImpl
- java.lang.Object
-
- com.soffid.iam.service.SelfServiceBase
-
- com.soffid.iam.service.SelfServiceImpl
-
- All Implemented Interfaces:
com.soffid.iam.service.SelfService
public class SelfServiceImpl extends SelfServiceBase
- Author:
- bubu
-
-
Constructor Summary
Constructors Constructor Description SelfServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
handleCheckCanSetAccountPassword(com.soffid.iam.api.Account account)
protected void
handleCheckinHPAccount(com.soffid.iam.api.Account account)
protected com.soffid.iam.api.UserData
handleCreateSharedAccountData(com.soffid.iam.api.UserData data)
protected Collection<com.soffid.iam.api.AccessTree>
handleFindChildren(com.soffid.iam.api.AccessTree puntEntrada)
protected Collection<com.soffid.iam.api.AccessTree>
handleFindEntryPoints(String name)
protected Collection<com.soffid.iam.api.RoleAccount>
handleFindRoleAccounts()
protected com.soffid.iam.api.AccessTree
handleFindRoot()
protected Collection<com.soffid.iam.api.GroupUser>
handleFindUserGroupsByUserName()
protected com.soffid.iam.api.Password
handleGenerateAccountTemporaryPassword(com.soffid.iam.api.Account account)
protected List<com.soffid.iam.api.UserData>
handleGetAccountAttributes(com.soffid.iam.api.Account account)
protected com.soffid.iam.api.Account
handleGetAccountById(long id)
protected String
handleGetClientHost()
protected com.soffid.iam.api.User
handleGetCurrentUser()
protected com.soffid.iam.api.DataType
handleGetDataTypeDescription(String systemName, String attName)
protected com.soffid.iam.api.System
handleGetDispatcherInformation(String dispatcherCode)
protected List<com.soffid.iam.api.Account>
handleGetSharedAccounts(String filter)
protected Collection<com.soffid.iam.api.Account>
handleGetUserAccounts()
protected Collection<com.soffid.iam.api.UserData>
handleGetUserAttributes()
protected com.soffid.iam.api.PasswordStatus
handlePasswordsStatus(com.soffid.iam.api.Account account)
com.soffid.iam.api.Password
handleQueryAccountPassword(com.soffid.iam.api.Account account)
com.soffid.iam.api.Password
handleQueryAccountPasswordBypassPolicy(com.soffid.iam.api.Account account)
com.soffid.iam.api.Password
handleQueryAccountSshKey(com.soffid.iam.api.Account account)
com.soffid.iam.api.Password
handleQueryAccountSshKeyBypassPolicy(com.soffid.iam.api.Account account)
protected String
handleQueryOtherAffectedAccounts(com.soffid.iam.api.Account account)
protected void
handleSetAccountPassword(com.soffid.iam.api.Account account, com.soffid.iam.api.Password password)
protected boolean
handleSetHPAccountPassword(com.soffid.iam.api.Account account, com.soffid.iam.api.Password password, Date untilDate, boolean force)
protected com.soffid.iam.api.Account
handleUpdateSharedAccount(com.soffid.iam.api.Account account)
protected com.soffid.iam.api.UserData
handleUpdateSharedAccountData(com.soffid.iam.api.UserData data)
protected com.soffid.iam.api.UserData
handleUpdateUserAttribute(com.soffid.iam.api.UserData attribute)
-
Methods inherited from class com.soffid.iam.service.SelfServiceBase
checkCanSetAccountPassword, checkinHPAccount, createSharedAccountData, findChildren, findEntryPoints, findRoleAccounts, findRoot, findUserGroupsByUserName, generateAccountTemporaryPassword, getAccountAttributes, getAccountById, getAccountEntityDao, getAccountService, getAdditionalDataService, getApplicationService, getAuditService, getAuthorizationService, getClientHost, getCurrentUser, getDataTypeDescription, getDispatcherInformation, getDispatcherService, getEntitlementDelegationService, getEntryPointService, getGroupService, getInternalPasswordService, getMetaDataEntityDao, getNetworkService, getPamSecurityHandlerService, getPrincipal, getSharedAccounts, getUserAccounts, getUserAttributes, getUserDataEntityDao, getUserEntityDao, getUserService, passwordsStatus, queryAccountPassword, queryAccountPasswordBypassPolicy, queryAccountSshKey, queryAccountSshKeyBypassPolicy, queryOtherAffectedAccounts, setAccountEntityDao, setAccountPassword, setAccountService, setAdditionalDataService, setApplicationService, setAuditService, setAuthorizationService, setDispatcherService, setEntitlementDelegationService, setEntryPointService, setGroupService, setHPAccountPassword, setInternalPasswordService, setMetaDataEntityDao, setNetworkService, setPamSecurityHandlerService, setUserDataEntityDao, setUserEntityDao, setUserService, updateSharedAccount, updateSharedAccountData, updateUserAttribute
-
-
-
-
Method Detail
-
handleGetUserAccounts
protected Collection<com.soffid.iam.api.Account> handleGetUserAccounts() throws Exception
- Specified by:
handleGetUserAccounts
in classSelfServiceBase
- Throws:
Exception
-
handleSetAccountPassword
protected void handleSetAccountPassword(com.soffid.iam.api.Account account, com.soffid.iam.api.Password password) throws Exception
- Specified by:
handleSetAccountPassword
in classSelfServiceBase
- Throws:
Exception
-
handleSetHPAccountPassword
protected boolean handleSetHPAccountPassword(com.soffid.iam.api.Account account, com.soffid.iam.api.Password password, Date untilDate, boolean force) throws Exception
- Specified by:
handleSetHPAccountPassword
in classSelfServiceBase
- Throws:
Exception
-
handleGetCurrentUser
protected com.soffid.iam.api.User handleGetCurrentUser() throws Exception
- Specified by:
handleGetCurrentUser
in classSelfServiceBase
- Throws:
Exception
-
handleFindRoleAccounts
protected Collection<com.soffid.iam.api.RoleAccount> handleFindRoleAccounts() throws Exception
- Specified by:
handleFindRoleAccounts
in classSelfServiceBase
- Throws:
Exception
-
handleFindUserGroupsByUserName
protected Collection<com.soffid.iam.api.GroupUser> handleFindUserGroupsByUserName() throws Exception
- Specified by:
handleFindUserGroupsByUserName
in classSelfServiceBase
- Throws:
Exception
-
handleGetClientHost
protected String handleGetClientHost() throws es.caib.seycon.ng.exception.InternalErrorException, IllegalArgumentException, IllegalAccessException, InvocationTargetException
- Specified by:
handleGetClientHost
in classSelfServiceBase
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
IllegalArgumentException
IllegalAccessException
InvocationTargetException
-
handleFindRoot
protected com.soffid.iam.api.AccessTree handleFindRoot() throws Exception
- Specified by:
handleFindRoot
in classSelfServiceBase
- Throws:
Exception
-
handleFindChildren
protected Collection<com.soffid.iam.api.AccessTree> handleFindChildren(com.soffid.iam.api.AccessTree puntEntrada) throws Exception
- Specified by:
handleFindChildren
in classSelfServiceBase
- Throws:
Exception
-
handleQueryAccountPassword
public com.soffid.iam.api.Password handleQueryAccountPassword(com.soffid.iam.api.Account account) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
handleQueryAccountPassword
in classSelfServiceBase
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleQueryAccountPasswordBypassPolicy
public com.soffid.iam.api.Password handleQueryAccountPasswordBypassPolicy(com.soffid.iam.api.Account account) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
handleQueryAccountPasswordBypassPolicy
in classSelfServiceBase
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleQueryAccountSshKey
public com.soffid.iam.api.Password handleQueryAccountSshKey(com.soffid.iam.api.Account account) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
handleQueryAccountSshKey
in classSelfServiceBase
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleQueryAccountSshKeyBypassPolicy
public com.soffid.iam.api.Password handleQueryAccountSshKeyBypassPolicy(com.soffid.iam.api.Account account) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
handleQueryAccountSshKeyBypassPolicy
in classSelfServiceBase
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handlePasswordsStatus
protected com.soffid.iam.api.PasswordStatus handlePasswordsStatus(com.soffid.iam.api.Account account) throws Exception
- Specified by:
handlePasswordsStatus
in classSelfServiceBase
- Throws:
Exception
-
handleQueryOtherAffectedAccounts
protected String handleQueryOtherAffectedAccounts(com.soffid.iam.api.Account account) throws Exception
- Specified by:
handleQueryOtherAffectedAccounts
in classSelfServiceBase
- Throws:
Exception
-
handleGetDispatcherInformation
protected com.soffid.iam.api.System handleGetDispatcherInformation(String dispatcherCode) throws Exception
- Specified by:
handleGetDispatcherInformation
in classSelfServiceBase
- Throws:
Exception
-
handleGetUserAttributes
protected Collection<com.soffid.iam.api.UserData> handleGetUserAttributes() throws Exception
- Specified by:
handleGetUserAttributes
in classSelfServiceBase
- Throws:
Exception
-
handleUpdateUserAttribute
protected com.soffid.iam.api.UserData handleUpdateUserAttribute(com.soffid.iam.api.UserData attribute) throws Exception
- Specified by:
handleUpdateUserAttribute
in classSelfServiceBase
- Throws:
Exception
-
handleGetDataTypeDescription
protected com.soffid.iam.api.DataType handleGetDataTypeDescription(String systemName, String attName) throws Exception
- Specified by:
handleGetDataTypeDescription
in classSelfServiceBase
- Throws:
Exception
-
handleFindEntryPoints
protected Collection<com.soffid.iam.api.AccessTree> handleFindEntryPoints(String name) throws Exception
- Specified by:
handleFindEntryPoints
in classSelfServiceBase
- Throws:
Exception
-
handleGetSharedAccounts
protected List<com.soffid.iam.api.Account> handleGetSharedAccounts(String filter) throws Exception
- Specified by:
handleGetSharedAccounts
in classSelfServiceBase
- Throws:
Exception
-
handleUpdateSharedAccount
protected com.soffid.iam.api.Account handleUpdateSharedAccount(com.soffid.iam.api.Account account) throws Exception
- Specified by:
handleUpdateSharedAccount
in classSelfServiceBase
- Throws:
Exception
-
handleUpdateSharedAccountData
protected com.soffid.iam.api.UserData handleUpdateSharedAccountData(com.soffid.iam.api.UserData data) throws Exception
- Specified by:
handleUpdateSharedAccountData
in classSelfServiceBase
- Throws:
Exception
-
handleCreateSharedAccountData
protected com.soffid.iam.api.UserData handleCreateSharedAccountData(com.soffid.iam.api.UserData data) throws Exception
- Specified by:
handleCreateSharedAccountData
in classSelfServiceBase
- Throws:
Exception
-
handleGetAccountAttributes
protected List<com.soffid.iam.api.UserData> handleGetAccountAttributes(com.soffid.iam.api.Account account) throws Exception
- Specified by:
handleGetAccountAttributes
in classSelfServiceBase
- Throws:
Exception
-
handleCheckCanSetAccountPassword
protected void handleCheckCanSetAccountPassword(com.soffid.iam.api.Account account) throws Exception
- Specified by:
handleCheckCanSetAccountPassword
in classSelfServiceBase
- Throws:
Exception
-
handleGenerateAccountTemporaryPassword
protected com.soffid.iam.api.Password handleGenerateAccountTemporaryPassword(com.soffid.iam.api.Account account) throws Exception
- Specified by:
handleGenerateAccountTemporaryPassword
in classSelfServiceBase
- Throws:
Exception
-
handleCheckinHPAccount
protected void handleCheckinHPAccount(com.soffid.iam.api.Account account) throws Exception
- Specified by:
handleCheckinHPAccount
in classSelfServiceBase
- Throws:
Exception
-
handleGetAccountById
protected com.soffid.iam.api.Account handleGetAccountById(long id) throws Exception
- Specified by:
handleGetAccountById
in classSelfServiceBase
- Throws:
Exception
-
-