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 theJWTback to the Request Object in theOIDCAuthenticationRequest.
-
-
Field Summary
Fields Modifier and Type Field Description private Function<MessageContext,OIDCAuthenticationRequest>authenticationRequestLookupStrategyStrategy used to locate theOIDCAuthenticationRequestto sign.private org.slf4j.LoggerlogClass logger.
-
Constructor Summary
Constructors Constructor Description RequestObjectTokenUpdateStrategy()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(com.nimbusds.jwt.JWT jwt, MessageContext messageContext)voidsetAuthenticationRequestLookupStrategy(Function<MessageContext,OIDCAuthenticationRequest> strategy)Set the strategy used to locate theOIDCAuthenticationRequestto use.-
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.BiConsumer
andThen
-
-
-
-
Field Detail
-
log
@Nonnull private final org.slf4j.Logger log
Class logger.
-
authenticationRequestLookupStrategy
@Nonnull private Function<MessageContext,OIDCAuthenticationRequest> authenticationRequestLookupStrategy
Strategy used to locate theOIDCAuthenticationRequestto sign.
-
-
Method Detail
-
setAuthenticationRequestLookupStrategy
public void setAuthenticationRequestLookupStrategy(@Nonnull Function<MessageContext,OIDCAuthenticationRequest> strategy)Set the strategy used to locate theOIDCAuthenticationRequestto use.- Parameters:
strategy- lookup strategy
-
accept
public void accept(com.nimbusds.jwt.JWT jwt, MessageContext messageContext)- Specified by:
acceptin interfaceBiConsumer<com.nimbusds.jwt.JWT,MessageContext>
-
-