Class RequestObjectTokenUpdateStrategy
java.lang.Object
net.shibboleth.idp.plugin.authn.oidc.rp.context.navigate.RequestObjectTokenUpdateStrategy
- All Implemented Interfaces:
BiConsumer<com.nimbusds.jwt.JWT,MessageContext>
public class RequestObjectTokenUpdateStrategy
extends Object
implements BiConsumer<com.nimbusds.jwt.JWT,MessageContext>
Consumer that adds the
JWT back to the Request Object in the OIDCAuthenticationRequest.-
Field Summary
FieldsModifier and TypeFieldDescriptionStrategy used to locate theOIDCAuthenticationRequestto sign.private final org.slf4j.LoggerClass logger. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(com.nimbusds.jwt.JWT jwt, MessageContext messageContext) voidSet the strategy used to locate theOIDCAuthenticationRequestto use.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiConsumer
andThen
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logClass logger. -
authenticationRequestLookupStrategy
@Nonnull private Function<MessageContext,OIDCAuthenticationRequest> authenticationRequestLookupStrategyStrategy used to locate theOIDCAuthenticationRequestto sign.
-
-
Constructor Details
-
RequestObjectTokenUpdateStrategy
public RequestObjectTokenUpdateStrategy()Constructor.
-
-
Method Details
-
setAuthenticationRequestLookupStrategy
public void setAuthenticationRequestLookupStrategy(@Nonnull Function<MessageContext, OIDCAuthenticationRequest> strategy) Set the strategy used to locate theOIDCAuthenticationRequestto use.- Parameters:
strategy- lookup strategy
-
accept
- Specified by:
acceptin interfaceBiConsumer<com.nimbusds.jwt.JWT,MessageContext>
-