Class OpenIdResolverServiceConfiguratorImpl

java.lang.Object
org.forgerock.oauth.resolvers.service.OpenIdResolverServiceConfiguratorImpl
All Implemented Interfaces:
OpenIdResolverServiceConfigurator

public class OpenIdResolverServiceConfiguratorImpl extends Object implements OpenIdResolverServiceConfigurator
Implementation of the OpenIdResolverServiceConfigurator interface which applies a simple priority ordering when reading a service configuration.
  • Constructor Details

    • OpenIdResolverServiceConfiguratorImpl

      public OpenIdResolverServiceConfiguratorImpl()
  • Method Details

    • configureService

      public boolean configureService(OpenIdResolverService service, List<Map<String,String>> resolvers)
      This implementation includes a priority system for ensuring invalid configs still attempt to be loaded. Priority is: - OpenIDConfiguration - JWK Location - Keystore Location - Secret Key - Failure
      Specified by:
      configureService in interface OpenIdResolverServiceConfigurator
      Parameters:
      service - to configure
      resolvers - the configuration
      Returns:
      false if any resolver configuration fails true otherwise