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 voidhandleApplyRule(String sessionKey, String policyName, String ruleName)protected com.soffid.iam.api.PamPolicyhandleCreatePolicy(com.soffid.iam.api.PamPolicy policy)protected com.soffid.iam.api.PamRulehandleCreateRule(com.soffid.iam.api.PamRule rule)protected voidhandleDeletePolicy(com.soffid.iam.api.PamPolicy policy)protected voidhandleDeleteRule(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.PamActionhandleUpdateAction(com.soffid.iam.api.PamAction action)protected com.soffid.iam.api.PamPolicyhandleUpdatePolicy(com.soffid.iam.api.PamPolicy policy)protected com.soffid.iam.api.PamRulehandleUpdateRule(com.soffid.iam.api.PamRule rule)protected voidnotify(SessionEntity session, AccountEntity account, List<PamActionEntity> actions, PamRuleEntity pamRuleEntity)voidsendPolicy(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:
handleFindPolicyByJsonQueryAsyncin classPamPolicyServiceBase- Throws:
Exception
-
handleFindRuleByJsonQueryAsync
protected com.soffid.iam.api.AsyncList<com.soffid.iam.api.PamRule> handleFindRuleByJsonQueryAsync(String text, String query) throws Exception
- Specified by:
handleFindRuleByJsonQueryAsyncin 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:
handleFindPolicyByJsonQueryin 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:
handleFindRuleByJsonQueryin classPamPolicyServiceBase- Throws:
Exception
-
handleUpdateAction
protected com.soffid.iam.api.PamAction handleUpdateAction(com.soffid.iam.api.PamAction action) throws Exception- Specified by:
handleUpdateActionin classPamPolicyServiceBase- Throws:
Exception
-
handleCreatePolicy
protected com.soffid.iam.api.PamPolicy handleCreatePolicy(com.soffid.iam.api.PamPolicy policy) throws Exception- Specified by:
handleCreatePolicyin classPamPolicyServiceBase- Throws:
Exception
-
handleUpdatePolicy
protected com.soffid.iam.api.PamPolicy handleUpdatePolicy(com.soffid.iam.api.PamPolicy policy) throws Exception- Specified by:
handleUpdatePolicyin classPamPolicyServiceBase- Throws:
Exception
-
handleCreateRule
protected com.soffid.iam.api.PamRule handleCreateRule(com.soffid.iam.api.PamRule rule) throws Exception- Specified by:
handleCreateRulein classPamPolicyServiceBase- Throws:
Exception
-
handleUpdateRule
protected com.soffid.iam.api.PamRule handleUpdateRule(com.soffid.iam.api.PamRule rule) throws Exception- Specified by:
handleUpdateRulein classPamPolicyServiceBase- Throws:
Exception
-
handleDeletePolicy
protected void handleDeletePolicy(com.soffid.iam.api.PamPolicy policy) throws Exception- Specified by:
handleDeletePolicyin classPamPolicyServiceBase- Throws:
Exception
-
handleDeleteRule
protected void handleDeleteRule(com.soffid.iam.api.PamRule rule) throws Exception- Specified by:
handleDeleteRulein classPamPolicyServiceBase- Throws:
Exception
-
handleFindPolicyActions
protected List<com.soffid.iam.api.PamAction> handleFindPolicyActions(com.soffid.iam.api.PamPolicy policy) throws Exception
- Specified by:
handleFindPolicyActionsin classPamPolicyServiceBase- Throws:
Exception
-
sendPolicy
public void sendPolicy(String oldName, PamPolicyEntity policy) throws MalformedURLException, UnsupportedEncodingException, es.caib.seycon.ng.exception.InternalErrorException
- Throws:
MalformedURLExceptionUnsupportedEncodingExceptiones.caib.seycon.ng.exception.InternalErrorException
-
handleApplyRule
protected void handleApplyRule(String sessionKey, String policyName, String ruleName) throws Exception
- Specified by:
handleApplyRulein 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
-
-