Enum Class ArtifactBindingMode

java.lang.Object
java.lang.Enum<ArtifactBindingMode>
swiss.trustbroker.federation.xmlconfig.ArtifactBindingMode
All Implemented Interfaces:
Serializable, Comparable<ArtifactBindingMode>, Constable

public enum ArtifactBindingMode extends Enum<ArtifactBindingMode>
Modes for SAML Artifact Binding.
  • Enum Constant Details

    • NOT_SUPPORTED

      public static final ArtifactBindingMode NOT_SUPPORTED
      Peer does not support Artifact Binding (inbound or outbound). Default for outbound.
    • SUPPORTED

      public static final ArtifactBindingMode SUPPORTED
      Outbound: If inbound from RP used Artifact Binding it is also used for the request to CP and/or for the response to RP. Inbound: Artifact Binding allowed, but not required. Default for inbound. Note that for inbound you also need to configure the ProtocolEndpoints for Artifact Binding for the RP/CP, but the default ArtifactBindingMode will then work. For outbound the peer needs to know the metadata or artifact resolution endpoint of XTB.
    • REQUIRED

      public static final ArtifactBindingMode REQUIRED
      Outbound: Always use Artifact Binding towards peer. Inbound: Require peer to use Artifact Binding.
  • Method Details

    • values

      public static ArtifactBindingMode[] 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 ArtifactBindingMode 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