Package com.soffid.iam.service
Class PamPolicyServiceBase
- java.lang.Object
-
- com.soffid.iam.service.PamPolicyServiceBase
-
- All Implemented Interfaces:
com.soffid.iam.service.PamPolicyService
- Direct Known Subclasses:
PamPolicyServiceImpl
public abstract class PamPolicyServiceBase extends Object implements com.soffid.iam.service.PamPolicyService
Spring Service base class for
see com.soffid.iam.service.PamPolicyServicecom.soffid.iam.service.PamPolicyService, provides access to all services and entities referenced by this service.
-
-
Constructor Summary
Constructors Constructor Description PamPolicyServiceBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidapplyRule(String sessionKey, String policyName, String ruleName)com.soffid.iam.api.PamPolicycreatePolicy(com.soffid.iam.api.PamPolicy policy)com.soffid.iam.api.PamRulecreateRule(com.soffid.iam.api.PamRule rule)voiddeletePolicy(com.soffid.iam.api.PamPolicy policy)voiddeleteRule(com.soffid.iam.api.PamRule rule)List<com.soffid.iam.api.PamAction>findPolicyActions(com.soffid.iam.api.PamPolicy policy)com.soffid.iam.api.PagedResult<com.soffid.iam.api.PamPolicy>findPolicyByJsonQuery(String text, String query, Integer first, Integer pageSize)com.soffid.iam.api.AsyncList<com.soffid.iam.api.PamPolicy>findPolicyByJsonQueryAsync(String text, String query)com.soffid.iam.api.PagedResult<com.soffid.iam.api.PamRule>findRuleByJsonQuery(String text, String query, Integer first, Integer pageSize)com.soffid.iam.api.AsyncList<com.soffid.iam.api.PamRule>findRuleByJsonQueryAsync(String text, String query)AccessLogEntityDaogetAccessLogEntityDao()Gets reference toregistreAccesEntityDao.AccountEntityDaogetAccountEntityDao()Gets reference toaccountEntityDao.com.soffid.iam.service.AsyncRunnerServicegetAsyncRunnerService()Gets reference toasyncRunnerService.AuditEntityDaogetAuditEntityDao()Gets reference toauditoriaEntityDao.com.soffid.iam.service.DispatcherServicegetDispatcherService()Gets reference todispatcherService.HostEntityDaogetHostEntityDao()Gets reference tomaquinaEntityDao.com.soffid.iam.service.IssueServicegetIssueService()Gets reference toissueService.JumpServerEntityDaogetJumpServerEntityDao()Gets reference tojumpServerEntityDao.JumpServerGroupEntityDaogetJumpServerGroupEntityDao()Gets reference tojumpServerGroupEntityDao.MailServicegetMailService()Gets reference tomailService.PamActionEntityDaogetPamActionEntityDao()Gets reference topamActionEntityDao.PamPolicyEntityDaogetPamPolicyEntityDao()Gets reference topamPolicyEntityDao.PamRuleEntityDaogetPamRuleEntityDao()Gets reference topamRuleEntityDao.PamSecurityHandlerServicegetPamSecurityHandlerService()Gets reference topamSecurityHandlerService.protected PrincipalgetPrincipal()Gets the currentprincipalif one has been set, otherwise returnsnull.ServiceEntityDaogetServiceEntityDao()Gets reference toserveiEntityDao.SessionEntityDaogetSessionEntityDao()Gets reference tosessioEntityDao.UserEntityDaogetUserEntityDao()Gets reference tousuariEntityDao.protected abstract voidhandleApplyRule(String sessionKey, String policyName, String ruleName)protected abstract com.soffid.iam.api.PamPolicyhandleCreatePolicy(com.soffid.iam.api.PamPolicy policy)protected abstract com.soffid.iam.api.PamRulehandleCreateRule(com.soffid.iam.api.PamRule rule)protected abstract voidhandleDeletePolicy(com.soffid.iam.api.PamPolicy policy)protected abstract voidhandleDeleteRule(com.soffid.iam.api.PamRule rule)protected abstract List<com.soffid.iam.api.PamAction>handleFindPolicyActions(com.soffid.iam.api.PamPolicy policy)protected abstract com.soffid.iam.api.PagedResult<com.soffid.iam.api.PamPolicy>handleFindPolicyByJsonQuery(String text, String query, Integer first, Integer pageSize)protected abstract com.soffid.iam.api.AsyncList<com.soffid.iam.api.PamPolicy>handleFindPolicyByJsonQueryAsync(String text, String query)protected abstract com.soffid.iam.api.PagedResult<com.soffid.iam.api.PamRule>handleFindRuleByJsonQuery(String text, String query, Integer first, Integer pageSize)protected abstract com.soffid.iam.api.AsyncList<com.soffid.iam.api.PamRule>handleFindRuleByJsonQueryAsync(String text, String query)protected abstract com.soffid.iam.api.PamActionhandleUpdateAction(com.soffid.iam.api.PamAction action)protected abstract com.soffid.iam.api.PamPolicyhandleUpdatePolicy(com.soffid.iam.api.PamPolicy policy)protected abstract com.soffid.iam.api.PamRulehandleUpdateRule(com.soffid.iam.api.PamRule rule)voidsetAccessLogEntityDao(AccessLogEntityDao registreAccesEntityDao)Sets reference toregistreAccesEntityDao.voidsetAccountEntityDao(AccountEntityDao accountEntityDao)Sets reference toaccountEntityDao.voidsetAsyncRunnerService(com.soffid.iam.service.AsyncRunnerService asyncRunnerService)Sets reference toasyncRunnerService.voidsetAuditEntityDao(AuditEntityDao auditoriaEntityDao)Sets reference toauditoriaEntityDao.voidsetDispatcherService(com.soffid.iam.service.DispatcherService dispatcherService)Sets reference todispatcherService.voidsetHostEntityDao(HostEntityDao maquinaEntityDao)Sets reference tomaquinaEntityDao.voidsetIssueService(com.soffid.iam.service.IssueService issueService)Sets reference toissueService.voidsetJumpServerEntityDao(JumpServerEntityDao jumpServerEntityDao)Sets reference tojumpServerEntityDao.voidsetJumpServerGroupEntityDao(JumpServerGroupEntityDao jumpServerGroupEntityDao)Sets reference tojumpServerGroupEntityDao.voidsetMailService(MailService mailService)Sets reference tomailService.voidsetPamActionEntityDao(PamActionEntityDao pamActionEntityDao)Sets reference topamActionEntityDao.voidsetPamPolicyEntityDao(PamPolicyEntityDao pamPolicyEntityDao)Sets reference topamPolicyEntityDao.voidsetPamRuleEntityDao(PamRuleEntityDao pamRuleEntityDao)Sets reference topamRuleEntityDao.voidsetPamSecurityHandlerService(PamSecurityHandlerService pamSecurityHandlerService)Sets reference topamSecurityHandlerService.voidsetServiceEntityDao(ServiceEntityDao serveiEntityDao)Sets reference toserveiEntityDao.voidsetSessionEntityDao(SessionEntityDao sessioEntityDao)Sets reference tosessioEntityDao.voidsetUserEntityDao(UserEntityDao usuariEntityDao)Sets reference tousuariEntityDao.com.soffid.iam.api.PamActionupdateAction(com.soffid.iam.api.PamAction action)com.soffid.iam.api.PamPolicyupdatePolicy(com.soffid.iam.api.PamPolicy policy)com.soffid.iam.api.PamRuleupdateRule(com.soffid.iam.api.PamRule rule)
-
-
-
Method Detail
-
setAccountEntityDao
public void setAccountEntityDao(AccountEntityDao accountEntityDao)
Sets reference toaccountEntityDao.
-
getAccountEntityDao
public AccountEntityDao getAccountEntityDao()
Gets reference toaccountEntityDao.
-
setAsyncRunnerService
public void setAsyncRunnerService(com.soffid.iam.service.AsyncRunnerService asyncRunnerService)
Sets reference toasyncRunnerService.
-
getAsyncRunnerService
public com.soffid.iam.service.AsyncRunnerService getAsyncRunnerService()
Gets reference toasyncRunnerService.
-
setAuditEntityDao
public void setAuditEntityDao(AuditEntityDao auditoriaEntityDao)
Sets reference toauditoriaEntityDao.
-
getAuditEntityDao
public AuditEntityDao getAuditEntityDao()
Gets reference toauditoriaEntityDao.
-
setDispatcherService
public void setDispatcherService(com.soffid.iam.service.DispatcherService dispatcherService)
Sets reference todispatcherService.
-
getDispatcherService
public com.soffid.iam.service.DispatcherService getDispatcherService()
Gets reference todispatcherService.
-
setIssueService
public void setIssueService(com.soffid.iam.service.IssueService issueService)
Sets reference toissueService.
-
getIssueService
public com.soffid.iam.service.IssueService getIssueService()
Gets reference toissueService.
-
setJumpServerEntityDao
public void setJumpServerEntityDao(JumpServerEntityDao jumpServerEntityDao)
Sets reference tojumpServerEntityDao.
-
getJumpServerEntityDao
public JumpServerEntityDao getJumpServerEntityDao()
Gets reference tojumpServerEntityDao.
-
setJumpServerGroupEntityDao
public void setJumpServerGroupEntityDao(JumpServerGroupEntityDao jumpServerGroupEntityDao)
Sets reference tojumpServerGroupEntityDao.
-
getJumpServerGroupEntityDao
public JumpServerGroupEntityDao getJumpServerGroupEntityDao()
Gets reference tojumpServerGroupEntityDao.
-
setMailService
public void setMailService(MailService mailService)
Sets reference tomailService.
-
getMailService
public MailService getMailService()
Gets reference tomailService.
-
setHostEntityDao
public void setHostEntityDao(HostEntityDao maquinaEntityDao)
Sets reference tomaquinaEntityDao.
-
getHostEntityDao
public HostEntityDao getHostEntityDao()
Gets reference tomaquinaEntityDao.
-
setPamActionEntityDao
public void setPamActionEntityDao(PamActionEntityDao pamActionEntityDao)
Sets reference topamActionEntityDao.
-
getPamActionEntityDao
public PamActionEntityDao getPamActionEntityDao()
Gets reference topamActionEntityDao.
-
setPamPolicyEntityDao
public void setPamPolicyEntityDao(PamPolicyEntityDao pamPolicyEntityDao)
Sets reference topamPolicyEntityDao.
-
getPamPolicyEntityDao
public PamPolicyEntityDao getPamPolicyEntityDao()
Gets reference topamPolicyEntityDao.
-
setPamRuleEntityDao
public void setPamRuleEntityDao(PamRuleEntityDao pamRuleEntityDao)
Sets reference topamRuleEntityDao.
-
getPamRuleEntityDao
public PamRuleEntityDao getPamRuleEntityDao()
Gets reference topamRuleEntityDao.
-
setPamSecurityHandlerService
public void setPamSecurityHandlerService(PamSecurityHandlerService pamSecurityHandlerService)
Sets reference topamSecurityHandlerService.
-
getPamSecurityHandlerService
public PamSecurityHandlerService getPamSecurityHandlerService()
Gets reference topamSecurityHandlerService.
-
setAccessLogEntityDao
public void setAccessLogEntityDao(AccessLogEntityDao registreAccesEntityDao)
Sets reference toregistreAccesEntityDao.
-
getAccessLogEntityDao
public AccessLogEntityDao getAccessLogEntityDao()
Gets reference toregistreAccesEntityDao.
-
setServiceEntityDao
public void setServiceEntityDao(ServiceEntityDao serveiEntityDao)
Sets reference toserveiEntityDao.
-
getServiceEntityDao
public ServiceEntityDao getServiceEntityDao()
Gets reference toserveiEntityDao.
-
setSessionEntityDao
public void setSessionEntityDao(SessionEntityDao sessioEntityDao)
Sets reference tosessioEntityDao.
-
getSessionEntityDao
public SessionEntityDao getSessionEntityDao()
Gets reference tosessioEntityDao.
-
setUserEntityDao
public void setUserEntityDao(UserEntityDao usuariEntityDao)
Sets reference tousuariEntityDao.
-
getUserEntityDao
public UserEntityDao getUserEntityDao()
Gets reference tousuariEntityDao.
-
findPolicyByJsonQueryAsync
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.AsyncList<com.soffid.iam.api.PamPolicy> findPolicyByJsonQueryAsync(String text, String query) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findPolicyByJsonQueryAsyncin interfacecom.soffid.iam.service.PamPolicyService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindPolicyByJsonQueryAsync
protected abstract com.soffid.iam.api.AsyncList<com.soffid.iam.api.PamPolicy> handleFindPolicyByJsonQueryAsync(String text, String query) throws Exception
- Throws:
Exception
-
findRuleByJsonQueryAsync
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.AsyncList<com.soffid.iam.api.PamRule> findRuleByJsonQueryAsync(String text, String query) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findRuleByJsonQueryAsyncin interfacecom.soffid.iam.service.PamPolicyService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindRuleByJsonQueryAsync
protected abstract com.soffid.iam.api.AsyncList<com.soffid.iam.api.PamRule> handleFindRuleByJsonQueryAsync(String text, String query) throws Exception
- Throws:
Exception
-
findPolicyByJsonQuery
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.PagedResult<com.soffid.iam.api.PamPolicy> findPolicyByJsonQuery(String text, String query, Integer first, Integer pageSize) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findPolicyByJsonQueryin interfacecom.soffid.iam.service.PamPolicyService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindPolicyByJsonQuery
protected abstract com.soffid.iam.api.PagedResult<com.soffid.iam.api.PamPolicy> handleFindPolicyByJsonQuery(String text, String query, Integer first, Integer pageSize) throws Exception
- Throws:
Exception
-
findRuleByJsonQuery
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.PagedResult<com.soffid.iam.api.PamRule> findRuleByJsonQuery(String text, String query, Integer first, Integer pageSize) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findRuleByJsonQueryin interfacecom.soffid.iam.service.PamPolicyService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindRuleByJsonQuery
protected abstract com.soffid.iam.api.PagedResult<com.soffid.iam.api.PamRule> handleFindRuleByJsonQuery(String text, String query, Integer first, Integer pageSize) throws Exception
- Throws:
Exception
-
updateAction
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.PamAction updateAction(com.soffid.iam.api.PamAction action) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
updateActionin interfacecom.soffid.iam.service.PamPolicyService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleUpdateAction
protected abstract com.soffid.iam.api.PamAction handleUpdateAction(com.soffid.iam.api.PamAction action) throws Exception- Throws:
Exception
-
createPolicy
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.PamPolicy createPolicy(com.soffid.iam.api.PamPolicy policy) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
createPolicyin interfacecom.soffid.iam.service.PamPolicyService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleCreatePolicy
protected abstract com.soffid.iam.api.PamPolicy handleCreatePolicy(com.soffid.iam.api.PamPolicy policy) throws Exception- Throws:
Exception
-
updatePolicy
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.PamPolicy updatePolicy(com.soffid.iam.api.PamPolicy policy) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
updatePolicyin interfacecom.soffid.iam.service.PamPolicyService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleUpdatePolicy
protected abstract com.soffid.iam.api.PamPolicy handleUpdatePolicy(com.soffid.iam.api.PamPolicy policy) throws Exception- Throws:
Exception
-
createRule
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.PamRule createRule(com.soffid.iam.api.PamRule rule) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
createRulein interfacecom.soffid.iam.service.PamPolicyService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleCreateRule
protected abstract com.soffid.iam.api.PamRule handleCreateRule(com.soffid.iam.api.PamRule rule) throws Exception- Throws:
Exception
-
updateRule
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.PamRule updateRule(com.soffid.iam.api.PamRule rule) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
updateRulein interfacecom.soffid.iam.service.PamPolicyService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleUpdateRule
protected abstract com.soffid.iam.api.PamRule handleUpdateRule(com.soffid.iam.api.PamRule rule) throws Exception- Throws:
Exception
-
findPolicyActions
@Transactional(rollbackFor=java.lang.Exception.class) public List<com.soffid.iam.api.PamAction> findPolicyActions(com.soffid.iam.api.PamPolicy policy) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findPolicyActionsin interfacecom.soffid.iam.service.PamPolicyService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindPolicyActions
protected abstract List<com.soffid.iam.api.PamAction> handleFindPolicyActions(com.soffid.iam.api.PamPolicy policy) throws Exception
- Throws:
Exception
-
applyRule
@Transactional(rollbackFor=java.lang.Exception.class) public void applyRule(String sessionKey, String policyName, String ruleName) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
applyRulein interfacecom.soffid.iam.service.PamPolicyService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleApplyRule
protected abstract void handleApplyRule(String sessionKey, String policyName, String ruleName) throws Exception
- Throws:
Exception
-
deletePolicy
@Transactional(rollbackFor=java.lang.Exception.class) public void deletePolicy(com.soffid.iam.api.PamPolicy policy) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
deletePolicyin interfacecom.soffid.iam.service.PamPolicyService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleDeletePolicy
protected abstract void handleDeletePolicy(com.soffid.iam.api.PamPolicy policy) throws Exception- Throws:
Exception
-
deleteRule
@Transactional(rollbackFor=java.lang.Exception.class) public void deleteRule(com.soffid.iam.api.PamRule rule) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
deleteRulein interfacecom.soffid.iam.service.PamPolicyService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleDeleteRule
protected abstract void handleDeleteRule(com.soffid.iam.api.PamRule rule) throws Exception- Throws:
Exception
-
getPrincipal
protected Principal getPrincipal()
Gets the currentprincipalif one has been set, otherwise returnsnull.- Returns:
- the current principal
-
-