Class RequestObjectRequiredAndSupported

java.lang.Object
net.shibboleth.profile.context.logic.AbstractRelyingPartyPredicate
net.shibboleth.sp.oidc.profile.config.logic.RequestObjectRequiredAndSupported
All Implemented Interfaces:
Predicate<org.opensaml.profile.context.ProfileRequestContext>

public class RequestObjectRequiredAndSupported extends net.shibboleth.profile.context.logic.AbstractRelyingPartyPredicate
A predicate that tests whether a request object should be built based on what is configured in the profile configuration and whether the OP supports it.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final org.slf4j.Logger
    Class logger.
    private Function<org.opensaml.profile.context.ProfileRequestContext,net.shibboleth.oidc.metadata.context.OIDCProviderMetadataContext>
    Strategy that will return OIDCProviderMetadata.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setOidcProviderMetadataContextLookupStrategy(Function<org.opensaml.profile.context.ProfileRequestContext,net.shibboleth.oidc.metadata.context.OIDCProviderMetadataContext> strategy)
    Set the lookup strategy to use to locate the OIDCProviderMetadataContext.
    boolean
    test(org.opensaml.profile.context.ProfileRequestContext input)
     

    Methods inherited from class net.shibboleth.profile.context.logic.AbstractRelyingPartyPredicate

    getRelyingPartyContext, getRelyingPartyContextLookupStrategy, setRelyingPartyContextLookupStrategy

    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.Predicate

    and, negate, or
  • Field Details

    • log

      @Nonnull private final org.slf4j.Logger log
      Class logger.
    • oidcProviderMetadataContextLookupStrategy

      @Nonnull private Function<org.opensaml.profile.context.ProfileRequestContext,net.shibboleth.oidc.metadata.context.OIDCProviderMetadataContext> oidcProviderMetadataContextLookupStrategy
      Strategy that will return OIDCProviderMetadata.
  • Constructor Details

    • RequestObjectRequiredAndSupported

      public RequestObjectRequiredAndSupported()
      Constructor.
  • Method Details

    • setOidcProviderMetadataContextLookupStrategy

      public void setOidcProviderMetadataContextLookupStrategy(@Nonnull Function<org.opensaml.profile.context.ProfileRequestContext,net.shibboleth.oidc.metadata.context.OIDCProviderMetadataContext> strategy)
      Set the lookup strategy to use to locate the OIDCProviderMetadataContext.
      Parameters:
      strategy - lookup function to use
    • test

      public boolean test(org.opensaml.profile.context.ProfileRequestContext input)