Enum Class SAMLInboundBinding

java.lang.Object
java.lang.Enum<SAMLInboundBinding>
org.nuxeo.ecm.platform.auth.saml.processor.binding.SAMLInboundBinding
All Implemented Interfaces:
Serializable, Comparable<SAMLInboundBinding>, Constable, SAMLBinding

public enum SAMLInboundBinding extends Enum<SAMLInboundBinding> implements SAMLBinding
Since:
2023.0
  • Enum Constant Details

  • Field Details

    • SAML_REQUEST

      public static final String SAML_REQUEST
      See Also:
    • SAML_RESPONSE

      public static final String SAML_RESPONSE
      See Also:
    • bindingURI

      protected final String bindingURI
    • acceptor

      protected final Predicate<javax.servlet.http.HttpServletRequest> acceptor
    • decoderFactory

      protected final Supplier<org.opensaml.messaging.decoder.servlet.HttpServletRequestMessageDecoder> decoderFactory
  • Method Details

    • values

      public static SAMLInboundBinding[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SAMLInboundBinding valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getBindingURI

      public String getBindingURI()
      Description copied from interface: SAMLBinding
      Returns the URI that identifies this binding as listed in SAMLConstants for instance.
      Specified by:
      getBindingURI in interface SAMLBinding
      Returns:
      the binding URI
    • accept

      public boolean accept(javax.servlet.http.HttpServletRequest request)
      Returns:
      whether this binding can treat the given request
    • newDecoder

      public org.opensaml.messaging.decoder.servlet.HttpServletRequestMessageDecoder newDecoder()
    • iSAMLObjectPresent

      protected static boolean iSAMLObjectPresent(javax.servlet.http.HttpServletRequest request)