Class IssuerIDFromOIDCProviderMetadataContextLookupFunction
java.lang.Object
net.shibboleth.oidc.profile.logic.IssuerIDFromOIDCProviderMetadataContextLookupFunction
- All Implemented Interfaces:
BiFunction<ProfileRequestContext,JWTClaimsSet, String>
public class IssuerIDFromOIDCProviderMetadataContextLookupFunction
extends Object
implements BiFunction<ProfileRequestContext,JWTClaimsSet,String>
A function that returns the issuer id via the provider information stored in
OIDCProviderMetadataContext.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(ProfileRequestContext prc, JWTClaimsSet claimsSet) voidsetOIDCMetadataContextLookupStrategy(Function<ProfileRequestContext, OIDCProviderMetadataContext> strategy) Set the strategy used to return theOIDCProviderMetadataContext.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunction
andThen
-
Field Details
-
oidcMetadataContextLookupStrategy
@Nonnull private Function<ProfileRequestContext,OIDCProviderMetadataContext> oidcMetadataContextLookupStrategyStrategy that will returnOIDCProviderMetadataContext.
-
-
Constructor Details
-
IssuerIDFromOIDCProviderMetadataContextLookupFunction
public IssuerIDFromOIDCProviderMetadataContextLookupFunction()Constructor.
-
-
Method Details
-
setOIDCMetadataContextLookupStrategy
public void setOIDCMetadataContextLookupStrategy(@Nonnull Function<ProfileRequestContext, OIDCProviderMetadataContext> strategy) Set the strategy used to return theOIDCProviderMetadataContext.- Parameters:
strategy- The lookup strategy.
-
apply
@Nullable public String apply(@Nullable ProfileRequestContext prc, @Nullable JWTClaimsSet claimsSet) - Specified by:
applyin interfaceBiFunction<ProfileRequestContext,JWTClaimsSet, String>
-