org.keycloak.authorization.policy.evaluation

## Interface EvaluationContext

- All Known Implementing Classes:
    DefaultEvaluationContext

      public interface EvaluationContext

  This interface serves as a bridge between the policy evaluation runtime and the environment in which it is running. When evaluating policies, this interface can be used to query information from the execution environment/context and enrich decisions.
  Author:
    Pedro Igor

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Attributes` | `getAttributes()` Returns all attributes within the current execution and runtime environment.
    `Identity` | `getIdentity()` Returns the `Identity` that represents an entity (person or non-person) to which the permissions must be granted, or not.

- - ### Method Detail

    - #### getIdentity

          Identity getIdentity()

      Returns the `Identity` that represents an entity (person or non-person) to which the permissions must be granted, or not.
      Returns:
        the identity to which the permissions must be granted, or not

    - #### getAttributes

          Attributes getAttributes()

      Returns all attributes within the current execution and runtime environment.
      Returns:
        the attributes within the current execution and runtime environment

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