org.keycloak.authorization.policy.evaluation

## 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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `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.

- - ### Method Detail

    - #### 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` - a `Decision` point to where notifications events will be delivered during the evaluation

Copyright © 2020 JBoss by Red Hat. All rights reserved.