Class AuthenticationRequestNonceClaimLookupStrategy
- java.lang.Object
-
- net.shibboleth.idp.plugin.authn.oidc.rp.security.impl.AuthenticationRequestNonceClaimLookupStrategy
-
- All Implemented Interfaces:
BiFunction<ProfileRequestContext,com.nimbusds.jwt.JWTClaimsSet,String>
@ThreadSafe public final class AuthenticationRequestNonceClaimLookupStrategy extends Object implements BiFunction<ProfileRequestContext,com.nimbusds.jwt.JWTClaimsSet,String>
Lookup strategy that finds the nonce from theOIDCAuthenticationRequest. Returnsnullif not found.
-
-
Field Summary
Fields Modifier and Type Field Description private Function<ProfileRequestContext,OIDCAuthenticationRequest>authenticationRequestLookupStrategyThe strategy used to lookup the authentication request.
-
Constructor Summary
Constructors Constructor Description AuthenticationRequestNonceClaimLookupStrategy()Constructor.AuthenticationRequestNonceClaimLookupStrategy(Function<ProfileRequestContext,OIDCAuthenticationRequest> strategy)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringapply(ProfileRequestContext context, com.nimbusds.jwt.JWTClaimsSet cliams)-
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
-
authenticationRequestLookupStrategy
@Nonnull private final Function<ProfileRequestContext,OIDCAuthenticationRequest> authenticationRequestLookupStrategy
The strategy used to lookup the authentication request.
-
-
Constructor Detail
-
AuthenticationRequestNonceClaimLookupStrategy
public AuthenticationRequestNonceClaimLookupStrategy(@Nonnull Function<ProfileRequestContext,OIDCAuthenticationRequest> strategy)Constructor.- Parameters:
strategy- the lookup strategy to use
-
AuthenticationRequestNonceClaimLookupStrategy
public AuthenticationRequestNonceClaimLookupStrategy()
Constructor.
-
-
Method Detail
-
apply
@Nullable public String apply(@Nonnull ProfileRequestContext context, @Nonnull com.nimbusds.jwt.JWTClaimsSet cliams)
- Specified by:
applyin interfaceBiFunction<ProfileRequestContext,com.nimbusds.jwt.JWTClaimsSet,String>
-
-