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 the
Payload from the Request Object inside the OIDCAuthenticationRequest.
The Payload must either be signed, or plain. The payload will not be available if still encrypted.-
Field Summary
FieldsModifier and TypeFieldDescriptionStrategy used to locate theOIDCAuthenticationRequestto sign.private final org.slf4j.LoggerClass logger. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.nimbusds.jose.Payloadapply(MessageContext messageContext) voidSet the strategy used to locate theOIDCAuthenticationRequestto use.
-
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
-
PayloadFromRequestObjectLookupFunction
public PayloadFromRequestObjectLookupFunction()Constructor.
-
-
Method Details
-
setAuthenticationRequestLookupStrategy
public void setAuthenticationRequestLookupStrategy(@Nonnull Function<MessageContext, OIDCAuthenticationRequest> strategy) Set the strategy used to locate theOIDCAuthenticationRequestto use.- Parameters:
strategy- lookup strategy
-
apply
- Specified by:
applyin interfaceFunction<MessageContext,com.nimbusds.jose.Payload>
-