Class ResourceLookupStrategy

java.lang.Object
net.shibboleth.profile.context.navigate.messaging.AbstractRelyingPartyLookupFunction<ResultType>
net.shibboleth.sp.oidc.profile.context.navigate.AbstractAgentAndRelyingPartyContextLookupFunction<List<URI>>
net.shibboleth.sp.oidc.profile.config.navigate.ResourceLookupStrategy
All Implemented Interfaces:
Function<org.opensaml.messaging.context.MessageContext,List<URI>>, org.opensaml.messaging.context.navigate.ContextDataLookupFunction<org.opensaml.messaging.context.MessageContext,List<URI>>

public class ResourceLookupStrategy extends AbstractAgentAndRelyingPartyContextLookupFunction<List<URI>>
A strategy function that extracts and validates resource indicators from the inbound MessageContext and returns them as a list of URI objects. Takes them from the inbound DDF object if they exist, if they do not exist or they were disallowed by the Hub configuration they are taken from the relying party configuration.

Validation ensures the URIs are absolute and do not contain a fragment component, per RFC. Any that aren't are filtered out.

  • Field Details

    • log

      @Nonnull private final org.slf4j.Logger log
      Logger.
  • Constructor Details

    • ResourceLookupStrategy

      public ResourceLookupStrategy()
  • Method Details

    • apply

      public List<URI> apply(org.opensaml.messaging.context.MessageContext messageContext)