Package org.miniorange.saml
Enum MoSAMLException.SAMLErrorCode
- java.lang.Object
-
- java.lang.Enum<MoSAMLException.SAMLErrorCode>
-
- org.miniorange.saml.MoSAMLException.SAMLErrorCode
-
- All Implemented Interfaces:
Serializable
,Comparable<MoSAMLException.SAMLErrorCode>
- Enclosing class:
- MoSAMLException
public static enum MoSAMLException.SAMLErrorCode extends Enum<MoSAMLException.SAMLErrorCode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASSERTION_NOT_SIGNED
INVALID_AUDIENCE
INVALID_CERTIFICATE
INVALID_DESTINATION
INVALID_ISSUER
INVALID_RECIPIENT
INVALID_SAML_STATUS
INVALID_SIGNATURE
NOT_IN_TIMESTAMP
RESPONDER
RESPONSE_NOT_SIGNED
UNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
String
getResolution()
static MoSAMLException.SAMLErrorCode
valueOf(String name)
Returns the enum constant of this type with the specified name.static MoSAMLException.SAMLErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_IN_TIMESTAMP
public static final MoSAMLException.SAMLErrorCode NOT_IN_TIMESTAMP
-
INVALID_ISSUER
public static final MoSAMLException.SAMLErrorCode INVALID_ISSUER
-
INVALID_SIGNATURE
public static final MoSAMLException.SAMLErrorCode INVALID_SIGNATURE
-
INVALID_DESTINATION
public static final MoSAMLException.SAMLErrorCode INVALID_DESTINATION
-
INVALID_RECIPIENT
public static final MoSAMLException.SAMLErrorCode INVALID_RECIPIENT
-
INVALID_AUDIENCE
public static final MoSAMLException.SAMLErrorCode INVALID_AUDIENCE
-
INVALID_CERTIFICATE
public static final MoSAMLException.SAMLErrorCode INVALID_CERTIFICATE
-
RESPONSE_NOT_SIGNED
public static final MoSAMLException.SAMLErrorCode RESPONSE_NOT_SIGNED
-
ASSERTION_NOT_SIGNED
public static final MoSAMLException.SAMLErrorCode ASSERTION_NOT_SIGNED
-
UNKNOWN
public static final MoSAMLException.SAMLErrorCode UNKNOWN
-
INVALID_SAML_STATUS
public static final MoSAMLException.SAMLErrorCode INVALID_SAML_STATUS
-
RESPONDER
public static final MoSAMLException.SAMLErrorCode RESPONDER
-
-
Method Detail
-
values
public static MoSAMLException.SAMLErrorCode[] 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 (MoSAMLException.SAMLErrorCode c : MoSAMLException.SAMLErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MoSAMLException.SAMLErrorCode 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
-
getMessage
public String getMessage()
-
getResolution
public String getResolution()
-
-