Package org.keycloak.authorization
Class FGAPPolicyEvaluator
java.lang.Object
org.keycloak.authorization.policy.evaluation.DefaultPolicyEvaluator
org.keycloak.authorization.FGAPPolicyEvaluator
- All Implemented Interfaces:
PolicyEvaluator
A
PolicyEvaluator
specific for evaluating permisions in the context of the Profile.Feature.ADMIN_FINE_GRAINED_AUTHZ_V2
feature.-
Constructor Summary
Constructors -
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.protected void
evaluateResourcePolicies
(ResourcePermission permission, AuthorizationProvider authorization, Consumer<Policy> policyConsumer) protected void
evaluateResourceTypePolicies
(ResourcePermission permission, AuthorizationProvider authorization, Consumer<Policy> policyConsumer) protected void
evaluateScopePolicies
(ResourcePermission permission, AuthorizationProvider authorization, Consumer<Policy> policyConsumer) Methods inherited from class org.keycloak.authorization.policy.evaluation.DefaultPolicyEvaluator
createPolicyEvaluator
-
Constructor Details
-
FGAPPolicyEvaluator
public FGAPPolicyEvaluator()
-
-
Method Details
-
evaluate
public void evaluate(ResourcePermission permission, AuthorizationProvider authorizationProvider, EvaluationContext executionContext, Decision decision, Map<Policy, Map<Object, Decision.Effect>> decisionCache) Description copied from interface:PolicyEvaluator
Starts the evaluation of the configured authorization policies.- Specified by:
evaluate
in interfacePolicyEvaluator
- Overrides:
evaluate
in classDefaultPolicyEvaluator
decision
- aDecision
point to where notifications events will be delivered during the evaluation
-
evaluateResourcePolicies
protected void evaluateResourcePolicies(ResourcePermission permission, AuthorizationProvider authorization, Consumer<Policy> policyConsumer) - Overrides:
evaluateResourcePolicies
in classDefaultPolicyEvaluator
-
evaluateResourceTypePolicies
protected void evaluateResourceTypePolicies(ResourcePermission permission, AuthorizationProvider authorization, Consumer<Policy> policyConsumer) - Overrides:
evaluateResourceTypePolicies
in classDefaultPolicyEvaluator
-
evaluateScopePolicies
protected void evaluateScopePolicies(ResourcePermission permission, AuthorizationProvider authorization, Consumer<Policy> policyConsumer) - Overrides:
evaluateScopePolicies
in classDefaultPolicyEvaluator
-