Class DefaultEvaluationContext

java.lang.Object
org.keycloak.authorization.common.DefaultEvaluationContext
All Implemented Interfaces:
EvaluationContext

public class DefaultEvaluationContext extends Object implements EvaluationContext
Author:
Pedro Igor
  • Field Details

  • Constructor Details

  • Method Details

    • getIdentity

      public Identity getIdentity()
      Description copied from interface: EvaluationContext
      Returns the Identity that represents an entity (person or non-person) to which the permissions must be granted, or not.
      Specified by:
      getIdentity in interface EvaluationContext
      Returns:
      the identity to which the permissions must be granted, or not
    • getBaseAttributes

      protected Map<String,Collection<String>> getBaseAttributes()
    • getAttributes

      public Attributes getAttributes()
      Description copied from interface: EvaluationContext
      Returns all attributes within the current execution and runtime environment.
      Specified by:
      getAttributes in interface EvaluationContext
      Returns:
      the attributes within the current execution and runtime environment