Class JWTClaimsSetFromRequestObjectLookupFunction

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

public class JWTClaimsSetFromRequestObjectLookupFunction extends Object implements Function<org.opensaml.messaging.context.MessageContext,com.nimbusds.jwt.JWTClaimsSet>
Extract the Payload from the Request Object inside the OIDCAuthenticationRequest. The Payload must either be signed, or plain. The claims will not be available if the payload is still encrypted.
  • 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

    • JWTClaimsSetFromRequestObjectLookupFunction

      public JWTClaimsSetFromRequestObjectLookupFunction()
      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
    • apply

      @Nullable public com.nimbusds.jwt.JWTClaimsSet apply(@Nullable org.opensaml.messaging.context.MessageContext messageContext)
      Specified by:
      apply in interface Function<org.opensaml.messaging.context.MessageContext,com.nimbusds.jwt.JWTClaimsSet>