Class LogoutHintLookupStrategy
java.lang.Object
net.shibboleth.profile.context.navigate.messaging.AbstractRelyingPartyLookupFunction<ResultType>
net.shibboleth.sp.oidc.profile.context.navigate.AbstractAgentAndRelyingPartyContextLookupFunction<String>
net.shibboleth.sp.oidc.profile.context.navigate.LogoutHintLookupStrategy
- All Implemented Interfaces:
Function<org.opensaml.messaging.context.MessageContext,,String> org.opensaml.messaging.context.navigate.ContextDataLookupFunction<org.opensaml.messaging.context.MessageContext,String>
public class LogoutHintLookupStrategy
extends AbstractAgentAndRelyingPartyContextLookupFunction<String>
A strategy to set the logout_hint from a claim inside the ID Token. The claim to extract is found from the profile
configuration. If the claim can not be found,
null is returned.-
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 org.slf4j.LoggerLogger.private 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
ConstructorsConstructorDescriptionLogoutHintLookupStrategy(Function<org.opensaml.profile.context.ProfileRequestContext, OIDCLogoutContext> strategy) Constructor. -
Method Summary
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. -
log
@Nonnull private final org.slf4j.Logger logLogger. -
logoutContextLookupStrategy
@Nonnull private final Function<org.opensaml.profile.context.ProfileRequestContext,OIDCLogoutContext> logoutContextLookupStrategyStrategy used to locate theOIDCLogoutContext.
-
-
Constructor Details
-
LogoutHintLookupStrategy
public LogoutHintLookupStrategy(@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 String apply(@Nullable org.opensaml.messaging.context.MessageContext messageContext)
-