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 thePayloadfrom the Request Object inside theOIDCAuthenticationRequest. The Payload must either be signed, or plain. The claims will not be available if the payload is 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 JWTClaimsSetFromRequestObjectLookupFunction()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.nimbusds.jwt.JWTClaimsSetapply(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.jwt.JWTClaimsSet apply(@Nullable MessageContext messageContext)- Specified by:
applyin interfaceFunction<MessageContext,com.nimbusds.jwt.JWTClaimsSet>
-
-