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 typeResultType- 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.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.shibboleth.sp.oidc.profile.context.navigate.AbstractAgentAndRelyingPartyContextLookupFunction
AbstractAgentAndRelyingPartyContextLookupFunction.DDFDirection -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Function<org.opensaml.messaging.context.MessageContext,net.shibboleth.oidc.metadata.context.OIDCProviderMetadataContext> Lookup strategy to locate the OpenID Provider metadata to use.Fields inherited from class net.shibboleth.sp.oidc.profile.context.navigate.AbstractAgentAndRelyingPartyContextLookupFunction
PRC_LOOKUP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.nimbusds.openid.connect.sdk.op.OIDCProviderMetadatagetProviderMetadata(org.opensaml.messaging.context.MessageContext input) Gets theOIDCProviderMetadatafor this request.voidsetProviderMetadataLookupStrategy(Function<org.opensaml.messaging.context.MessageContext, net.shibboleth.oidc.metadata.context.OIDCProviderMetadataContext> strategy) Set the lookup strategy to locate the OpenID providers metadata.Methods inherited from class net.shibboleth.sp.oidc.profile.context.navigate.AbstractAgentAndRelyingPartyContextLookupFunction
getAgent, getAgentRequestContext, getApplication, getDDF, getOIDCLogoutProfileConfiguration, getOIDCRelyingPartyProfileConfiguration, isFeatureDisallowed, setAgentRequestContextLookupStrategyMethods inherited from class net.shibboleth.profile.context.navigate.messaging.AbstractRelyingPartyLookupFunction
getProfileRequestContext, getProfileRequestContextLookupStrategy, getRelyingPartyContext, getRelyingPartyContextLookupStrategy, setProfileRequestContextLookupStrategy, setRelyingPartyContextLookupStrategy
-
Field Details
-
providerMetadataLookupStrategy
@Nonnull private Function<org.opensaml.messaging.context.MessageContext,net.shibboleth.oidc.metadata.context.OIDCProviderMetadataContext> providerMetadataLookupStrategyLookup 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 theOIDCProviderMetadatafor this request.- Parameters:
input- the message context- Returns:
- the provider's metadata
-