Package com.soffid.iam.service
Interface PamPolicyService
-
public interface PamPolicyService
Service PamPolicyService
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
applyRule(String sessionKey, String policyName, String ruleName)
Operation applyRule Method invoked from PAM sessionPamPolicy
createPolicy(PamPolicy policy)
Operation createPolicyPamRule
createRule(PamRule rule)
Operation createRulevoid
deletePolicy(PamPolicy policy)
Operation deletePolicyvoid
deleteRule(PamRule rule)
Operation deleteRuleList<PamAction>
findPolicyActions(PamPolicy policy)
Operation findPolicyActionsPagedResult<PamPolicy>
findPolicyByJsonQuery(String text, String query, Integer first, Integer pageSize)
Operation findPolicyByJsonQueryAsyncList<PamPolicy>
findPolicyByJsonQueryAsync(String text, String query)
Operation findPolicyByJsonQueryAsyncPagedResult<PamRule>
findRuleByJsonQuery(String text, String query, Integer first, Integer pageSize)
Operation findRuleByJsonQueryAsyncList<PamRule>
findRuleByJsonQueryAsync(String text, String query)
Operation findRuleByJsonQueryAsyncPamAction
updateAction(PamAction action)
Operation updateActionPamPolicy
updatePolicy(PamPolicy policy)
Operation updatePolicyPamRule
updateRule(PamRule rule)
Operation updateRule
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
findPolicyByJsonQueryAsync
AsyncList<PamPolicy> findPolicyByJsonQueryAsync(String text, String query) throws InternalErrorException
Operation findPolicyByJsonQueryAsync- Parameters:
text
-query
-- Returns:
- Throws:
InternalErrorException
-
findRuleByJsonQueryAsync
AsyncList<PamRule> findRuleByJsonQueryAsync(String text, String query) throws InternalErrorException
Operation findRuleByJsonQueryAsync- Parameters:
text
-query
-- Returns:
- Throws:
InternalErrorException
-
findPolicyByJsonQuery
PagedResult<PamPolicy> findPolicyByJsonQuery(String text, String query, Integer first, Integer pageSize) throws InternalErrorException
Operation findPolicyByJsonQuery- Parameters:
text
-query
-first
-pageSize
-- Returns:
- Throws:
InternalErrorException
-
findRuleByJsonQuery
PagedResult<PamRule> findRuleByJsonQuery(String text, String query, Integer first, Integer pageSize) throws InternalErrorException
Operation findRuleByJsonQuery- Parameters:
text
-query
-first
-pageSize
-- Returns:
- Throws:
InternalErrorException
-
updateAction
PamAction updateAction(PamAction action) throws InternalErrorException
Operation updateAction- Parameters:
action
-- Returns:
- Throws:
InternalErrorException
-
createPolicy
PamPolicy createPolicy(PamPolicy policy) throws InternalErrorException
Operation createPolicy- Parameters:
policy
-- Returns:
- Throws:
InternalErrorException
-
updatePolicy
PamPolicy updatePolicy(PamPolicy policy) throws InternalErrorException
Operation updatePolicy- Parameters:
policy
-- Returns:
- Throws:
InternalErrorException
-
createRule
PamRule createRule(PamRule rule) throws InternalErrorException
Operation createRule- Parameters:
rule
-- Returns:
- Throws:
InternalErrorException
-
updateRule
PamRule updateRule(PamRule rule) throws InternalErrorException
Operation updateRule- Parameters:
rule
-- Returns:
- Throws:
InternalErrorException
-
findPolicyActions
List<PamAction> findPolicyActions(PamPolicy policy) throws InternalErrorException
Operation findPolicyActions- Parameters:
policy
-- Returns:
- Throws:
InternalErrorException
-
applyRule
void applyRule(String sessionKey, String policyName, String ruleName) throws InternalErrorException
Operation applyRule Method invoked from PAM session- Parameters:
sessionKey
-policyName
-ruleName
-- Throws:
InternalErrorException
-
deletePolicy
void deletePolicy(PamPolicy policy) throws InternalErrorException
Operation deletePolicy- Parameters:
policy
-- Throws:
InternalErrorException
-
deleteRule
void deleteRule(PamRule rule) throws InternalErrorException
Operation deleteRule- Parameters:
rule
-- Throws:
InternalErrorException
-
-