Class JWTClaimsSetFromRequestObjectLookupFunction
java.lang.Object
net.shibboleth.idp.plugin.authn.oidc.rp.messaging.context.navigate.JWTClaimsSetFromRequestObjectLookupFunction
- All Implemented Interfaces:
Function<MessageContext,com.nimbusds.jwt.JWTClaimsSet>
public class JWTClaimsSetFromRequestObjectLookupFunction
extends Object
implements Function<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 Summary
FieldsModifier and TypeFieldDescriptionStrategy used to locate theOIDCAuthenticationRequestto sign.private final org.slf4j.LoggerClass logger. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.nimbusds.jwt.JWTClaimsSetapply(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
-
JWTClaimsSetFromRequestObjectLookupFunction
public JWTClaimsSetFromRequestObjectLookupFunction()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.jwt.JWTClaimsSet>
-