Class ClientIDLookupStrategy

java.lang.Object
net.shibboleth.sp.oidc.profile.config.navigate.ClientIDLookupStrategy
All Implemented Interfaces:
Function<org.opensaml.messaging.context.MessageContext,String>

public class ClientIDLookupStrategy extends Object implements Function<org.opensaml.messaging.context.MessageContext,String>
A lookup strategy that locates the ClientID, used in a logout request.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final Function<org.opensaml.profile.context.ProfileRequestContext,String>
    Strategy used to obtain the request issuer value.
    private static final org.opensaml.profile.context.navigate.ParentProfileRequestContextLookup<org.opensaml.messaging.context.MessageContext>
    Lookup function for parent ProfileRequestContext.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ClientIDLookupStrategy(Function<org.opensaml.profile.context.ProfileRequestContext,String> strategy)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(org.opensaml.messaging.context.MessageContext prc)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.function.Function

    andThen, compose
  • 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.
    • issuerLookupStrategy

      @Nonnull private final Function<org.opensaml.profile.context.ProfileRequestContext,String> issuerLookupStrategy
      Strategy used to obtain the request issuer value.
  • Constructor Details

    • ClientIDLookupStrategy

      public ClientIDLookupStrategy(@ParameterName(name="issuerLookupStrategy") @Nonnull Function<org.opensaml.profile.context.ProfileRequestContext,String> strategy)
      Constructor.
      Parameters:
      strategy - strategy to find the logout context
  • Method Details

    • apply

      @Nullable public String apply(@Nullable org.opensaml.messaging.context.MessageContext prc)
      Specified by:
      apply in interface Function<org.opensaml.messaging.context.MessageContext,String>