Class ScopeLookupStrategy

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

public class ScopeLookupStrategy extends AbstractAgentAndRelyingPartyContextLookupFunction<Set<String>>
A strategy function that extracts Scope from the inbound MessageContext and returns them as a set of Strings. 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.
  • Field Details

    • log

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

    • ScopeLookupStrategy

      public ScopeLookupStrategy()
  • Method Details

    • apply

      public Set<String> apply(org.opensaml.messaging.context.MessageContext messageContext)