Interface PolicyEvaluator
- All Known Implementing Classes:
DefaultPolicyEvaluator
public interface PolicyEvaluator
A PolicyEvaluator
evaluates authorization policies based on a given ResourcePermission
, sending
the results to a Decision
point through the methods defined in that interface.
- Author:
- Pedro Igor
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
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
-