org.keycloak.authorization.policy.evaluation

## Class DefaultPolicyEvaluator

- java.lang.Object
- - org.keycloak.authorization.policy.evaluation.DefaultPolicyEvaluator

- All Implemented Interfaces:
    PolicyEvaluator

      public class DefaultPolicyEvaluator
      extends Object
      implements PolicyEvaluator

  Author:
    Pedro Igor

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultPolicyEvaluator()`

  - ### Method Summary

    All Methods Instance Methods Concrete 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.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DefaultPolicyEvaluator

          public DefaultPolicyEvaluator()

  - ### Method Detail

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

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