org.keycloak.authorization.policy.provider.role

## Class RolePolicyProvider

- java.lang.Object
- - org.keycloak.authorization.policy.provider.role.RolePolicyProvider

- All Implemented Interfaces:
    PolicyProvider, Provider

      public class RolePolicyProvider
      extends Object
      implements PolicyProvider

  Author:
    Pedro Igor

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RolePolicyProvider(BiFunction<Policy,AuthorizationProvider,RolePolicyRepresentation> representationFunction)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`
    `void` | `evaluate(Evaluation evaluation)`

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

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

- - ### Constructor Detail

    - #### RolePolicyProvider

          public RolePolicyProvider(BiFunction<Policy,AuthorizationProvider,RolePolicyRepresentation> representationFunction)

  - ### Method Detail

    - #### evaluate

          public void evaluate(Evaluation evaluation)

      Specified by:
        `evaluate` in interface `PolicyProvider`

    - #### close

          public void close()

      Specified by:
        `close` in interface `Provider`

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