Package org.keycloak.authorization.admin
Class PolicyEvaluationService.EvaluationDecisionCollector
java.lang.Object
org.keycloak.authorization.policy.evaluation.AbstractDecisionCollector
org.keycloak.authorization.policy.evaluation.DecisionPermissionCollector
org.keycloak.authorization.admin.PolicyEvaluationService.EvaluationDecisionCollector
- All Implemented Interfaces:
Decision<DefaultEvaluation>
- Enclosing class:
- PolicyEvaluationService
public static class PolicyEvaluationService.EvaluationDecisionCollector
extends DecisionPermissionCollector
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.authorization.Decision
Decision.Effect
-
Field Summary
Fields inherited from class org.keycloak.authorization.policy.evaluation.AbstractDecisionCollector
results
-
Constructor Summary
ConstructorDescriptionEvaluationDecisionCollector
(AuthorizationProvider authorizationProvider, ResourceServer resourceServer, AuthorizationRequest request) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
grantPermission
(AuthorizationProvider authorizationProvider, Set<Permission> permissions, ResourcePermission permission, Collection<Scope> grantedScopes, ResourceServer resourceServer, AuthorizationRequest request, Result result) protected boolean
isGranted
(Result.PolicyResult policyResult) Methods inherited from class org.keycloak.authorization.policy.evaluation.DecisionPermissionCollector
onComplete, onError, onGrant, results
Methods inherited from class org.keycloak.authorization.policy.evaluation.AbstractDecisionCollector
onComplete, onComplete, onComplete, onDecision
-
Constructor Details
-
EvaluationDecisionCollector
public EvaluationDecisionCollector(AuthorizationProvider authorizationProvider, ResourceServer resourceServer, AuthorizationRequest request)
-
-
Method Details
-
isGranted
- Overrides:
isGranted
in classAbstractDecisionCollector
-
grantPermission
protected void grantPermission(AuthorizationProvider authorizationProvider, Set<Permission> permissions, ResourcePermission permission, Collection<Scope> grantedScopes, ResourceServer resourceServer, AuthorizationRequest request, Result result) - Overrides:
grantPermission
in classDecisionPermissionCollector
-
getResults
-