Enum Class SamlPostBindingParseResult.Reason
java.lang.Object
java.lang.Enum<SamlPostBindingParseResult.Reason>
com.revetsec.saml.SamlPostBindingParseResult.Reason
- All Implemented Interfaces:
Serializable, Comparable<SamlPostBindingParseResult.Reason>, Constable
- Enclosing interface:
SamlPostBindingParseResult
@Immutable
public static enum SamlPostBindingParseResult.Reason
extends Enum<SamlPostBindingParseResult.Reason>
Bounded input and framing failures.
- Since:
- 1.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe SAML payload violates canonical standard Base64 or its whitespace allowance.The form body is empty or exceeds its cap.The Content-Type fields are missing, repeated or unsupported.A form component is not valid UTF-8 or percent encoding.Required parameters are missing, repeated or unexpected.The query string conflicts with the POST binding.RelayState exceeds the binding cap.The encoded payload or decoded XML exceeds its cap, or decoded XML is empty. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static SamlPostBindingParseResult.Reason[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
BODY_SIZE
The form body is empty or exceeds its cap. -
CONTENT_TYPE
The Content-Type fields are missing, repeated or unsupported. -
QUERY
The query string conflicts with the POST binding. -
PARAMETERS
Required parameters are missing, repeated or unexpected. -
FORM_ENCODING
A form component is not valid UTF-8 or percent encoding. -
RELAY_STATE_SIZE
RelayState exceeds the binding cap. -
BASE64
The SAML payload violates canonical standard Base64 or its whitespace allowance. -
XML_SIZE
The encoded payload or decoded XML exceeds its cap, or decoded XML is empty.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-