Package org.ow2.authzforce.core.pdp.api
Interface Decidable
-
- All Known Subinterfaces:
PolicyEvaluator
,StaticPolicyEvaluator
,StaticTopLevelPolicyElementEvaluator
,TopLevelPolicyElementEvaluator
,VersionFixedPolicyEvaluator
public interface Decidable
"Decidable" policy element, i.e. policy element that is evaluated to an access control decision: Permit, Deny, etc. As of XACML 3.0, such elements are Rule, Policy and PolicySets, therefore they must implement this interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DecisionResult
evaluate(EvaluationContext context, Optional<EvaluationContext> mdpContext)
Tries to evaluate the policy by calling the combining algorithm on the given policies or rules.
-
-
-
Method Detail
-
evaluate
DecisionResult evaluate(EvaluationContext context, Optional<EvaluationContext> mdpContext)
Tries to evaluate the policy by calling the combining algorithm on the given policies or rules.- Parameters:
context
- the representation of the requestmdpContext
- the context of the Multiple Decision request that thecontext
belongs to if the Multiple Decision Profile is used.- Returns:
- the result of evaluation
-
-