Class RequestObjectTokenUpdateStrategy

java.lang.Object
net.shibboleth.sp.oidc.messaging.context.navigate.RequestObjectTokenUpdateStrategy
All Implemented Interfaces:
BiConsumer<com.nimbusds.jwt.JWT,org.opensaml.messaging.context.MessageContext>

public class RequestObjectTokenUpdateStrategy extends Object implements BiConsumer<com.nimbusds.jwt.JWT,org.opensaml.messaging.context.MessageContext>
Consumer that adds the JWT back to the Request Object in the OIDCAuthenticationRequest.
  • Field Details

    • log

      @Nonnull private final org.slf4j.Logger log
      Class logger.
    • authenticationRequestLookupStrategy

      @Nonnull private Function<org.opensaml.messaging.context.MessageContext,net.shibboleth.oidc.profile.core.OIDCAuthenticationRequest> authenticationRequestLookupStrategy
      Strategy used to locate the OIDCAuthenticationRequest to sign.
  • Constructor Details

    • RequestObjectTokenUpdateStrategy

      public RequestObjectTokenUpdateStrategy()
      Constructor.
  • Method Details

    • setAuthenticationRequestLookupStrategy

      public void setAuthenticationRequestLookupStrategy(@Nonnull Function<org.opensaml.messaging.context.MessageContext,net.shibboleth.oidc.profile.core.OIDCAuthenticationRequest> strategy)
      Set the strategy used to locate the OIDCAuthenticationRequest to use.
      Parameters:
      strategy - lookup strategy
    • accept

      public void accept(@Nullable com.nimbusds.jwt.JWT jwt, @Nullable org.opensaml.messaging.context.MessageContext messageContext)
      Specified by:
      accept in interface BiConsumer<com.nimbusds.jwt.JWT,org.opensaml.messaging.context.MessageContext>