Interface PolicyEvaluator
-
- All Known Implementing Classes:
DefaultPolicyEvaluator
public interface PolicyEvaluator
A
PolicyEvaluator
evaluates authorization policies based on a givenResourcePermission
, sending the results to aDecision
point through the methods defined in that interface.- Author:
- Pedro Igor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
evaluate(ResourcePermission permission, AuthorizationProvider authorizationProvider, EvaluationContext executionContext, Decision decision, Map<Policy,Map<Object,Decision.Effect>> decisionCache)
Starts the evaluation of the configured authorization policies.
-
-
-
Method Detail
-
evaluate
void evaluate(ResourcePermission permission, AuthorizationProvider authorizationProvider, EvaluationContext executionContext, Decision decision, Map<Policy,Map<Object,Decision.Effect>> decisionCache)
Starts the evaluation of the configured authorization policies.- Parameters:
decision
- aDecision
point to where notifications events will be delivered during the evaluation
-
-