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.
  • Field Details

    • PRC_LOOKUP

      @Nonnull private static final org.opensaml.profile.context.navigate.ParentProfileRequestContextLookup<org.opensaml.messaging.context.MessageContext> PRC_LOOKUP
      Lookup function for parent ProfileRequestContext.
    • log

      @Nonnull private final org.slf4j.Logger log
      Logger.
    • logoutContextLookupStrategy

      @Nonnull private final Function<org.opensaml.profile.context.ProfileRequestContext,OIDCLogoutContext> logoutContextLookupStrategy
      Strategy used to locate the OIDCLogoutContext.
  • 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)