Class FilesystemMetadataValueResolver

All Implemented Interfaces:
MetadataValueResolver, RefreshableMetadataValueResolver, Component, DestructableComponent, IdentifiableComponent, IdentifiedComponent, InitializableComponent, Resolver<Object,ProfileRequestContext>

public class FilesystemMetadataValueResolver extends AbstractFileOIDCEntityResolver<com.nimbusds.oauth2.sdk.id.Identifier,Object> implements RefreshableMetadataValueResolver
An implementation to RefreshableMetadataValueResolver that fetches the information from a file.
  • Constructor Details

    • FilesystemMetadataValueResolver

      public FilesystemMetadataValueResolver(@Nonnull Resource metadata) throws IOException
      Constructor.
      Parameters:
      metadata - the metadata file
      Throws:
      IOException - If the metedata cannot be loaded.
    • FilesystemMetadataValueResolver

      public FilesystemMetadataValueResolver(@Nullable Timer backgroundTaskTimer, @Nonnull Resource metadata) throws IOException
      Constructor.
      Parameters:
      metadata - the metadata file
      backgroundTaskTimer - timer used to refresh metadata in the background
      Throws:
      IOException - If the metedata cannot be loaded.
  • Method Details