Class AbstractDecisionCollector
java.lang.Object
org.keycloak.authorization.policy.evaluation.AbstractDecisionCollector
- All Implemented Interfaces:
Decision<DefaultEvaluation>
- Direct Known Subclasses:
DecisionPermissionCollector
,DecisionResultCollector
public abstract class AbstractDecisionCollector
extends Object
implements Decision<DefaultEvaluation>
- Author:
- Pedro Igor
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.authorization.Decision
Decision.Effect
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
isGranted
(Result.PolicyResult policyResult) void
protected void
onComplete
(Collection<Result> permissions) void
onComplete
(ResourcePermission permission) protected void
onComplete
(Result result) void
onDecision
(DefaultEvaluation evaluation)
-
Field Details
-
results
-
-
Constructor Details
-
AbstractDecisionCollector
public AbstractDecisionCollector()
-
-
Method Details
-
onDecision
- Specified by:
onDecision
in interfaceDecision<DefaultEvaluation>
-
onComplete
public void onComplete()- Specified by:
onComplete
in interfaceDecision<DefaultEvaluation>
-
onComplete
- Specified by:
onComplete
in interfaceDecision<DefaultEvaluation>
-
onComplete
-
onComplete
-
isGranted
-