Package org.keycloak.adapters.saml
Enum SamlAuthenticationError.Reason
- java.lang.Object
-
- java.lang.Enum<SamlAuthenticationError.Reason>
-
- org.keycloak.adapters.saml.SamlAuthenticationError.Reason
-
- All Implemented Interfaces:
Serializable,Comparable<SamlAuthenticationError.Reason>
- Enclosing class:
- SamlAuthenticationError
public static enum SamlAuthenticationError.Reason extends Enum<SamlAuthenticationError.Reason>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR_STATUSEXTRACTION_FAILUREINVALID_SIGNATURE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SamlAuthenticationError.ReasonvalueOf(String name)Returns the enum constant of this type with the specified name.static SamlAuthenticationError.Reason[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXTRACTION_FAILURE
public static final SamlAuthenticationError.Reason EXTRACTION_FAILURE
-
INVALID_SIGNATURE
public static final SamlAuthenticationError.Reason INVALID_SIGNATURE
-
ERROR_STATUS
public static final SamlAuthenticationError.Reason ERROR_STATUS
-
-
Method Detail
-
values
public static SamlAuthenticationError.Reason[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SamlAuthenticationError.Reason c : SamlAuthenticationError.Reason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SamlAuthenticationError.Reason valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-