Package org.italiangrid.voms.error
Enum VOMSValidationErrorCode
- java.lang.Object
-
- java.lang.Enum<VOMSValidationErrorCode>
-
- org.italiangrid.voms.error.VOMSValidationErrorCode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<VOMSValidationErrorCode>
public enum VOMSValidationErrorCode extends java.lang.Enum<VOMSValidationErrorCode>
VOMS validation error codes.
-
-
Enum Constant Summary
-
Constructor Summary
Constructors Modifier Constructor Description private
VOMSValidationErrorCode()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VOMSValidationErrorCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static VOMSValidationErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
acNotValidAtCurrentTime
public static final VOMSValidationErrorCode acNotValidAtCurrentTime
-
lscFileNotFound
public static final VOMSValidationErrorCode lscFileNotFound
-
emptyAcCertsExtension
public static final VOMSValidationErrorCode emptyAcCertsExtension
-
lscDescriptionDoesntMatchAcCert
public static final VOMSValidationErrorCode lscDescriptionDoesntMatchAcCert
-
invalidAcCert
public static final VOMSValidationErrorCode invalidAcCert
-
acCertFailsSignatureVerification
public static final VOMSValidationErrorCode acCertFailsSignatureVerification
-
aaCertNotFound
public static final VOMSValidationErrorCode aaCertNotFound
-
invalidAaCert
public static final VOMSValidationErrorCode invalidAaCert
-
aaCertFailsSignatureVerification
public static final VOMSValidationErrorCode aaCertFailsSignatureVerification
-
acHolderDoesntMatchCertChain
public static final VOMSValidationErrorCode acHolderDoesntMatchCertChain
-
localhostDoesntMatchAcTarget
public static final VOMSValidationErrorCode localhostDoesntMatchAcTarget
-
canlError
public static final VOMSValidationErrorCode canlError
-
other
public static final VOMSValidationErrorCode other
-
-
Method Detail
-
values
public static VOMSValidationErrorCode[] 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 (VOMSValidationErrorCode c : VOMSValidationErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VOMSValidationErrorCode valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-