Package com.soffid.iam.service
Class PamPolicyServiceImpl
- java.lang.Object
-
- com.soffid.iam.service.PamPolicyServiceBase
-
- com.soffid.iam.service.PamPolicyServiceImpl
-
- All Implemented Interfaces:
com.soffid.iam.service.PamPolicyService
public class PamPolicyServiceImpl extends PamPolicyServiceBase
-
-
Constructor Summary
Constructors Constructor Description PamPolicyServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
handleApplyRule(String sessionKey, String policyName, String ruleName)
protected com.soffid.iam.api.PamPolicy
handleCreatePolicy(com.soffid.iam.api.PamPolicy policy)
protected com.soffid.iam.api.PamRule
handleCreateRule(com.soffid.iam.api.PamRule rule)
protected void
handleDeletePolicy(com.soffid.iam.api.PamPolicy policy)
protected void
handleDeleteRule(com.soffid.iam.api.PamRule rule)
protected List<com.soffid.iam.api.PamAction>
handleFindPolicyActions(com.soffid.iam.api.PamPolicy policy)
protected com.soffid.iam.api.PagedResult<com.soffid.iam.api.PamPolicy>
handleFindPolicyByJsonQuery(String text, String query, Integer first, Integer pageSize)
protected com.soffid.iam.api.AsyncList<com.soffid.iam.api.PamPolicy>
handleFindPolicyByJsonQueryAsync(String text, String query)
protected com.soffid.iam.api.PagedResult<com.soffid.iam.api.PamRule>
handleFindRuleByJsonQuery(String text, String query, Integer first, Integer pageSize)
protected com.soffid.iam.api.AsyncList<com.soffid.iam.api.PamRule>
handleFindRuleByJsonQueryAsync(String text, String query)
protected com.soffid.iam.api.PamAction
handleUpdateAction(com.soffid.iam.api.PamAction action)
protected com.soffid.iam.api.PamPolicy
handleUpdatePolicy(com.soffid.iam.api.PamPolicy policy)
protected com.soffid.iam.api.PamRule
handleUpdateRule(com.soffid.iam.api.PamRule rule)
protected void
notify(SessionEntity session, AccountEntity account, List<PamActionEntity> actions, PamRuleEntity pamRuleEntity)
void
sendPolicy(String oldName, PamPolicyEntity policy)
-
Methods inherited from class com.soffid.iam.service.PamPolicyServiceBase
applyRule, createPolicy, createRule, deletePolicy, deleteRule, findPolicyActions, findPolicyByJsonQuery, findPolicyByJsonQueryAsync, findRuleByJsonQuery, findRuleByJsonQueryAsync, getAccessLogEntityDao, getAccountEntityDao, getAsyncRunnerService, getAuditEntityDao, getDispatcherService, getHostEntityDao, getIssueService, getJumpServerEntityDao, getJumpServerGroupEntityDao, getMailService, getPamActionEntityDao, getPamPolicyEntityDao, getPamRuleEntityDao, getPamSecurityHandlerService, getPrincipal, getServiceEntityDao, getSessionEntityDao, getUserEntityDao, setAccessLogEntityDao, setAccountEntityDao, setAsyncRunnerService, setAuditEntityDao, setDispatcherService, setHostEntityDao, setIssueService, setJumpServerEntityDao, setJumpServerGroupEntityDao, setMailService, setPamActionEntityDao, setPamPolicyEntityDao, setPamRuleEntityDao, setPamSecurityHandlerService, setServiceEntityDao, setSessionEntityDao, setUserEntityDao, updateAction, updatePolicy, updateRule
-
-
-
-
Method Detail
-
handleFindPolicyByJsonQueryAsync
protected com.soffid.iam.api.AsyncList<com.soffid.iam.api.PamPolicy> handleFindPolicyByJsonQueryAsync(String text, String query) throws Exception
- Specified by:
handleFindPolicyByJsonQueryAsync
in classPamPolicyServiceBase
- Throws:
Exception
-
handleFindRuleByJsonQueryAsync
protected com.soffid.iam.api.AsyncList<com.soffid.iam.api.PamRule> handleFindRuleByJsonQueryAsync(String text, String query) throws Exception
- Specified by:
handleFindRuleByJsonQueryAsync
in classPamPolicyServiceBase
- Throws:
Exception
-
handleFindPolicyByJsonQuery
protected com.soffid.iam.api.PagedResult<com.soffid.iam.api.PamPolicy> handleFindPolicyByJsonQuery(String text, String query, Integer first, Integer pageSize) throws Exception
- Specified by:
handleFindPolicyByJsonQuery
in classPamPolicyServiceBase
- Throws:
Exception
-
handleFindRuleByJsonQuery
protected com.soffid.iam.api.PagedResult<com.soffid.iam.api.PamRule> handleFindRuleByJsonQuery(String text, String query, Integer first, Integer pageSize) throws Exception
- Specified by:
handleFindRuleByJsonQuery
in classPamPolicyServiceBase
- Throws:
Exception
-
handleUpdateAction
protected com.soffid.iam.api.PamAction handleUpdateAction(com.soffid.iam.api.PamAction action) throws Exception
- Specified by:
handleUpdateAction
in classPamPolicyServiceBase
- Throws:
Exception
-
handleCreatePolicy
protected com.soffid.iam.api.PamPolicy handleCreatePolicy(com.soffid.iam.api.PamPolicy policy) throws Exception
- Specified by:
handleCreatePolicy
in classPamPolicyServiceBase
- Throws:
Exception
-
handleUpdatePolicy
protected com.soffid.iam.api.PamPolicy handleUpdatePolicy(com.soffid.iam.api.PamPolicy policy) throws Exception
- Specified by:
handleUpdatePolicy
in classPamPolicyServiceBase
- Throws:
Exception
-
handleCreateRule
protected com.soffid.iam.api.PamRule handleCreateRule(com.soffid.iam.api.PamRule rule) throws Exception
- Specified by:
handleCreateRule
in classPamPolicyServiceBase
- Throws:
Exception
-
handleUpdateRule
protected com.soffid.iam.api.PamRule handleUpdateRule(com.soffid.iam.api.PamRule rule) throws Exception
- Specified by:
handleUpdateRule
in classPamPolicyServiceBase
- Throws:
Exception
-
handleDeletePolicy
protected void handleDeletePolicy(com.soffid.iam.api.PamPolicy policy) throws Exception
- Specified by:
handleDeletePolicy
in classPamPolicyServiceBase
- Throws:
Exception
-
handleDeleteRule
protected void handleDeleteRule(com.soffid.iam.api.PamRule rule) throws Exception
- Specified by:
handleDeleteRule
in classPamPolicyServiceBase
- Throws:
Exception
-
handleFindPolicyActions
protected List<com.soffid.iam.api.PamAction> handleFindPolicyActions(com.soffid.iam.api.PamPolicy policy) throws Exception
- Specified by:
handleFindPolicyActions
in classPamPolicyServiceBase
- Throws:
Exception
-
sendPolicy
public void sendPolicy(String oldName, PamPolicyEntity policy) throws MalformedURLException, UnsupportedEncodingException, es.caib.seycon.ng.exception.InternalErrorException
- Throws:
MalformedURLException
UnsupportedEncodingException
es.caib.seycon.ng.exception.InternalErrorException
-
handleApplyRule
protected void handleApplyRule(String sessionKey, String policyName, String ruleName) throws Exception
- Specified by:
handleApplyRule
in classPamPolicyServiceBase
- Throws:
Exception
-
notify
protected void notify(SessionEntity session, AccountEntity account, List<PamActionEntity> actions, PamRuleEntity pamRuleEntity) throws es.caib.seycon.ng.exception.InternalErrorException
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
-