Class IDTokenHintLookupStrategy
java.lang.Object
net.shibboleth.profile.context.navigate.messaging.AbstractRelyingPartyLookupFunction<ResultType>
net.shibboleth.sp.oidc.profile.context.navigate.AbstractAgentAndRelyingPartyContextLookupFunction<com.nimbusds.jwt.JWT>
net.shibboleth.sp.oidc.profile.context.navigate.IDTokenHintLookupStrategy
- All Implemented Interfaces:
Function<org.opensaml.messaging.context.MessageContext,,com.nimbusds.jwt.JWT> org.opensaml.messaging.context.navigate.ContextDataLookupFunction<org.opensaml.messaging.context.MessageContext,com.nimbusds.jwt.JWT>
public class IDTokenHintLookupStrategy
extends AbstractAgentAndRelyingPartyContextLookupFunction<com.nimbusds.jwt.JWT>
A lookup strategy that locates the ID Token, used as a hint in a logout request, from the
OIDCLogoutContext.-
Nested Class Summary
Nested classes/interfaces inherited from class net.shibboleth.sp.oidc.profile.context.navigate.AbstractAgentAndRelyingPartyContextLookupFunction
AbstractAgentAndRelyingPartyContextLookupFunction.DDFDirection -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Function<org.opensaml.profile.context.ProfileRequestContext,OIDCLogoutContext> Strategy used to locate theOIDCLogoutContext.private static final org.opensaml.profile.context.navigate.ParentProfileRequestContextLookup<org.opensaml.messaging.context.MessageContext>Lookup function for parentProfileRequestContext. -
Constructor Summary
ConstructorsConstructorDescriptionIDTokenHintLookupStrategy(Function<org.opensaml.profile.context.ProfileRequestContext, OIDCLogoutContext> strategy) Constructor. -
Method Summary
Modifier and TypeMethodDescriptioncom.nimbusds.jwt.JWTapply(org.opensaml.messaging.context.MessageContext messageContext) Methods inherited from class net.shibboleth.sp.oidc.profile.context.navigate.AbstractAgentAndRelyingPartyContextLookupFunction
getAgent, getAgentRequestContext, getApplication, getDDF, getOIDCLogoutProfileConfiguration, getOIDCRelyingPartyProfileConfiguration, isFeatureDisallowed, setAgentRequestContextLookupStrategyMethods inherited from class net.shibboleth.profile.context.navigate.messaging.AbstractRelyingPartyLookupFunction
getProfileRequestContext, getProfileRequestContextLookupStrategy, getRelyingPartyContext, getRelyingPartyContextLookupStrategy, setProfileRequestContextLookupStrategy, setRelyingPartyContextLookupStrategy
-
Field Details
-
PRC_LOOKUP
@Nonnull private static final org.opensaml.profile.context.navigate.ParentProfileRequestContextLookup<org.opensaml.messaging.context.MessageContext> PRC_LOOKUPLookup function for parentProfileRequestContext. -
logoutContextLookupStrategy
@Nonnull private final Function<org.opensaml.profile.context.ProfileRequestContext,OIDCLogoutContext> logoutContextLookupStrategyStrategy used to locate theOIDCLogoutContext.
-
-
Constructor Details
-
IDTokenHintLookupStrategy
public IDTokenHintLookupStrategy(@ParameterName(name="oidcLogoutContextLookupStrategy") @Nonnull Function<org.opensaml.profile.context.ProfileRequestContext, OIDCLogoutContext> strategy) Constructor.- Parameters:
strategy- strategy to find the logout context
-
-
Method Details
-
apply
@Nullable public com.nimbusds.jwt.JWT apply(@Nullable org.opensaml.messaging.context.MessageContext messageContext)
-