Class IssuerIDFromOIDCProviderMetadataContextLookupFunction
- java.lang.Object
-
- net.shibboleth.oidc.profile.logic.IssuerIDFromOIDCProviderMetadataContextLookupFunction
-
- All Implemented Interfaces:
BiFunction<ProfileRequestContext,com.nimbusds.jwt.JWTClaimsSet,String>
public class IssuerIDFromOIDCProviderMetadataContextLookupFunction extends Object implements BiFunction<ProfileRequestContext,com.nimbusds.jwt.JWTClaimsSet,String>
A function that returns the issuer id via the provider information stored inOIDCProviderMetadataContext.
-
-
Field Summary
Fields Modifier and Type Field Description private Function<ProfileRequestContext,OIDCProviderMetadataContext>oidcMetadataContextLookupStrategyStrategy that will returnOIDCProviderMetadataContext.
-
Constructor Summary
Constructors Constructor Description IssuerIDFromOIDCProviderMetadataContextLookupFunction()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringapply(ProfileRequestContext prc, com.nimbusds.jwt.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, wait
-
Methods inherited from interface java.util.function.BiFunction
andThen
-
-
-
-
Field Detail
-
oidcMetadataContextLookupStrategy
@Nonnull private Function<ProfileRequestContext,OIDCProviderMetadataContext> oidcMetadataContextLookupStrategy
Strategy that will returnOIDCProviderMetadataContext.
-
-
Method Detail
-
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(@Nonnull ProfileRequestContext prc, @Nullable com.nimbusds.jwt.JWTClaimsSet claimsSet)
- Specified by:
applyin interfaceBiFunction<ProfileRequestContext,com.nimbusds.jwt.JWTClaimsSet,String>
-
-