Class SingleLogoutProfileConfiguration

All Implemented Interfaces:
InterceptorAwareProfileConfiguration, SAMLProfileConfiguration, ConditionalProfileConfiguration, ProfileConfiguration, SAMLArtifactAwareProfileConfiguration, SAMLArtifactConsumerProfileConfiguration, SAMLProfileConfiguration, SAML2ProfileConfiguration, SingleLogoutProfileConfiguration, Component, DestructableComponent, IdentifiableComponent, IdentifiedComponent, InitializableComponent

public class SingleLogoutProfileConfiguration extends AbstractSAML2ArtifactAwareProfileConfiguration implements SingleLogoutProfileConfiguration
Configuration support for IdP SAML 2 Single Logout.
  • Field Details

    • PROFILE_COUNTER

      @Nonnull @NotEmpty public static final String PROFILE_COUNTER
      Name of profile counter.
      See Also:
    • signSOAPRequestsPredicate

      @Nonnull private Predicate<MessageContext> signSOAPRequestsPredicate
      Predicate used to determine if SOAP-based requests should be signed.
    • clientTLSSOAPRequestsPredicate

      @Nonnull private Predicate<MessageContext> clientTLSSOAPRequestsPredicate
      Predicate used to determine if SOAP-based requests should use client TLS.
    • qualifiedNameIDFormatsLookupStrategy

      @Nonnull private Function<ProfileRequestContext,Collection<String>> qualifiedNameIDFormatsLookupStrategy
      Lookup function to supply qualifiedNameIDFormats property.
  • Constructor Details

    • SingleLogoutProfileConfiguration

      public SingleLogoutProfileConfiguration()
      Constructor.
    • SingleLogoutProfileConfiguration

      protected SingleLogoutProfileConfiguration(@Nonnull @NotEmpty String profileId)
      Constructor.
      Parameters:
      profileId - unique ID for this profile
  • Method Details

    • isSignSOAPRequests

      public boolean isSignSOAPRequests(@Nullable MessageContext messageContext)
      Specified by:
      isSignSOAPRequests in interface SingleLogoutProfileConfiguration
    • setSignSOAPRequests

      public void setSignSOAPRequests(boolean flag)
      Set whether SOAP-based requests should be signed.
      Parameters:
      flag - flag to set
      Since:
      4.0.0
    • setSignSOAPRequestsPredicate

      public void setSignSOAPRequestsPredicate(@Nonnull Predicate<MessageContext> predicate)
      Set the predicate used to determine if SOAP-based requests should be signed.
      Parameters:
      predicate - the predicate
      Since:
      4.0.0
    • isClientTLSSOAPRequests

      public boolean isClientTLSSOAPRequests(@Nullable MessageContext messageContext)
      Specified by:
      isClientTLSSOAPRequests in interface SingleLogoutProfileConfiguration
    • setClientTLSSOAPRequests

      public void setClientTLSSOAPRequests(boolean flag)
      Set whether SOAP-based requests should use client TLS.
      Parameters:
      flag - flag to set
      Since:
      4.0.0
    • setClientTLSSOAPRequestsPredicate

      public void setClientTLSSOAPRequestsPredicate(@Nonnull Predicate<MessageContext> predicate)
      Set the predicate used to determine if SOAP-based requests should use client TLS.
      Parameters:
      predicate - the predicate
      Since:
      4.0.0
    • getQualifiedNameIDFormats

      @Nonnull @NotLive public Collection<String> getQualifiedNameIDFormats(@Nullable ProfileRequestContext profileRequestContext)
      Specified by:
      getQualifiedNameIDFormats in interface SingleLogoutProfileConfiguration
    • setQualifiedNameIDFormats

      public void setQualifiedNameIDFormats(@Nullable Collection<String> formats)
      Set a collection of NameID Format values for which the use of the NameQualifier and SPNameQualifier attributes is defined to allow default/implicit values derived from the asserting and relying parties.

      In the core standard, only the NameIDType.PERSISTENT and NameIDType.TRANSIENT Formats are defined in this manner. This setting identifies additional Formats that should be handled in this way.

      Parameters:
      formats - additional Formats for which defaulting of qualifiers is permissable
      Since:
      3.4.0
    • setQualifiedNameIDFormatsLookupStrategy

      public void setQualifiedNameIDFormatsLookupStrategy(@Nonnull Function<ProfileRequestContext,Collection<String>> strategy)
      Set a lookup strategy for the Format values for which the use of the NameQualifier and SPNameQualifier attributes is defined to allow default/implicit values derived from the asserting and relying parties.
      Parameters:
      strategy - lookup strategy
      Since:
      3.4.0