Class AbstractProviderMetadataLookupFunction<F extends org.opensaml.messaging.context.BaseContext,ResultType>

java.lang.Object
net.shibboleth.profile.context.navigate.messaging.AbstractRelyingPartyLookupFunction<ResultType>
net.shibboleth.sp.oidc.profile.context.navigate.AbstractAgentAndRelyingPartyContextLookupFunction<ResultType>
net.shibboleth.sp.oidc.profile.context.navigate.AbstractProviderMetadataLookupFunction<F,ResultType>
Type Parameters:
F - context type
ResultType - result type
All Implemented Interfaces:
Function<org.opensaml.messaging.context.MessageContext,ResultType>, org.opensaml.messaging.context.navigate.ContextDataLookupFunction<org.opensaml.messaging.context.MessageContext,ResultType>
Direct Known Subclasses:
AuthorizationEndpointLookupStrategy

public abstract class AbstractProviderMetadataLookupFunction<F extends org.opensaml.messaging.context.BaseContext,ResultType> extends AbstractAgentAndRelyingPartyContextLookupFunction<ResultType>
An abstract base class for pulling out the OpenID Provider metadata.
  • Field Details

    • providerMetadataLookupStrategy

      @Nonnull private Function<org.opensaml.messaging.context.MessageContext,net.shibboleth.oidc.metadata.context.OIDCProviderMetadataContext> providerMetadataLookupStrategy
      Lookup strategy to locate the OpenID Provider metadata to use.
  • Constructor Details

    • AbstractProviderMetadataLookupFunction

      protected AbstractProviderMetadataLookupFunction()
      Constructor.
  • Method Details

    • setProviderMetadataLookupStrategy

      public void setProviderMetadataLookupStrategy(@Nonnull Function<org.opensaml.messaging.context.MessageContext,net.shibboleth.oidc.metadata.context.OIDCProviderMetadataContext> strategy)
      Set the lookup strategy to locate the OpenID providers metadata.
      Parameters:
      strategy - the strategy.
    • getProviderMetadata

      @Nullable public com.nimbusds.openid.connect.sdk.op.OIDCProviderMetadata getProviderMetadata(@Nullable org.opensaml.messaging.context.MessageContext input)
      Gets the OIDCProviderMetadata for this request.
      Parameters:
      input - the message context
      Returns:
      the provider's metadata