public interface IPolicyDecisionPoint extends IComponent
| Modifier and Type | Method and Description |
|---|---|
boolean |
addToBlacklist(List<EnforcementScopeId> ids) |
boolean |
clearAllCaches()
Clears all caches of the PDP (response and connector caches).
|
AuthorizationDecision |
decisionRequest(Event event)
Notifies the PDP about a certain event.
|
boolean |
deploy(String policy)
Deploys a policy directly.
|
List<PolicyId> |
listDeployedPolicies()
Provides a list of currently deployed policy names.
|
boolean |
removeFromBlacklist(List<EnforcementScopeId> ids) |
boolean |
revokePolicy(PolicyId policyId)
Revokes a policy.
|
Map<Event,AuthorizationDecision> |
timerDecisionRequest(List<Event> events) |
getHealth, getId, initialize, resetboolean clearAllCaches()
throws IOException
IOException - if there occurs a connection problem.AuthorizationDecision decisionRequest(Event event) throws IOException, IllegalArgumentException, EvaluationUndecidableException
event - the occurred eventAuthorizationDecision with respect to the event and
deployed policiesIOException - if there occurs a connection problem.IllegalArgumentException - if event is semantically invalidEvaluationUndecidableException - if PDP can't evaluate the event due
to internal ambiguity.boolean deploy(String policy) throws IOException, IllegalArgumentException, ConflictingPolicyException
policy - the policy in XML formatIOException - if there occurs a connection problem.IllegalArgumentException - if policyId is syntactically invalidConflictingPolicyException - if multiple policy with same id are
found in PMPList<PolicyId> listDeployedPolicies() throws IOException
IOException - if there occurs a connection problem.boolean revokePolicy(PolicyId policyId) throws IOException, IllegalArgumentException, PolicyRevokationException
policyId - the name of the policy to be revokedIOException - if there occurs a connection problem.IllegalArgumentException - if policyId is syntactically invalidPolicyRevokationException - fails to revoke the policyboolean addToBlacklist(List<EnforcementScopeId> ids) throws IOException
IOExceptionboolean removeFromBlacklist(List<EnforcementScopeId> ids) throws IOException
IOExceptionMap<Event,AuthorizationDecision> timerDecisionRequest(List<Event> events) throws IOException, EvaluationUndecidableException
Copyright © 2018. All rights reserved.