Class PayloadFromRequestObjectLookupFunction
- java.lang.Object
-
- net.shibboleth.idp.plugin.authn.oidc.rp.messaging.context.navigate.PayloadFromRequestObjectLookupFunction
-
- All Implemented Interfaces:
Function<MessageContext,com.nimbusds.jose.Payload>
public class PayloadFromRequestObjectLookupFunction extends Object implements Function<MessageContext,com.nimbusds.jose.Payload>
Extract thePayloadfrom the Request Object inside theOIDCAuthenticationRequest. The Payload must either be signed, or plain. The payload will not be available if still encrypted.
-
-
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 PayloadFromRequestObjectLookupFunction()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.nimbusds.jose.Payloadapply(MessageContext messageContext)voidsetAuthenticationRequestLookupStrategy(Function<MessageContext,OIDCAuthenticationRequest> strategy)Set the strategy used to locate theOIDCAuthenticationRequestto use.
-
-
-
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
-
apply
@Nullable public com.nimbusds.jose.Payload apply(@Nullable MessageContext messageContext)- Specified by:
applyin interfaceFunction<MessageContext,com.nimbusds.jose.Payload>
-
-