Class FilesystemMetadataValueResolver

    • Constructor Detail

      • 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 Detail

      • parse

        protected List<Object> parse​(byte[] bytes)
                              throws com.nimbusds.oauth2.sdk.ParseException
        Specified by:
        parse in class net.shibboleth.oidc.metadata.impl.AbstractReloadingOIDCEntityResolver<com.nimbusds.oauth2.sdk.id.Identifier,​Object>
        Throws:
        com.nimbusds.oauth2.sdk.ParseException
      • getKey

        protected com.nimbusds.oauth2.sdk.id.Identifier getKey​(Object value)
        Specified by:
        getKey in class net.shibboleth.oidc.metadata.impl.AbstractReloadingOIDCEntityResolver<com.nimbusds.oauth2.sdk.id.Identifier,​Object>