Class DecisionPermissionCollector
java.lang.Object
org.keycloak.authorization.policy.evaluation.AbstractDecisionCollector
org.keycloak.authorization.policy.evaluation.DecisionPermissionCollector
- All Implemented Interfaces:
Decision<DefaultEvaluation>
- Direct Known Subclasses:
PermissionTicketAwareDecisionResultCollector
,PolicyEvaluationService.EvaluationDecisionCollector
- Author:
- Pedro Igor
-
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
ConstructorDescriptionDecisionPermissionCollector
(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) void
onComplete
(Result result) void
protected void
onGrant
(Permission permission) results()
Methods inherited from class org.keycloak.authorization.policy.evaluation.AbstractDecisionCollector
isGranted, onComplete, onComplete, onComplete, onDecision
-
Constructor Details
-
DecisionPermissionCollector
public DecisionPermissionCollector(AuthorizationProvider authorizationProvider, ResourceServer resourceServer, AuthorizationRequest request)
-
-
Method Details
-
onComplete
- Overrides:
onComplete
in classAbstractDecisionCollector
-
results
-
onError
-
grantPermission
protected void grantPermission(AuthorizationProvider authorizationProvider, Set<Permission> permissions, ResourcePermission permission, Collection<Scope> grantedScopes, ResourceServer resourceServer, AuthorizationRequest request, Result result) -
onGrant
-