Package org.jenkinsci.remoting.engine
Enum JnlpClientDatabase.ValidationResult
- java.lang.Object
-
- java.lang.Enum<JnlpClientDatabase.ValidationResult>
-
- org.jenkinsci.remoting.engine.JnlpClientDatabase.ValidationResult
-
- All Implemented Interfaces:
Serializable
,Comparable<JnlpClientDatabase.ValidationResult>
- Enclosing class:
- JnlpClientDatabase
public static enum JnlpClientDatabase.ValidationResult extends Enum<JnlpClientDatabase.ValidationResult>
The types of certificate validation results.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IDENTITY_PROVED
The certificate is valid and proven to originate from the named client, skip secret validation.INVALID
The certificate is invalid, reject the connection.REVERIFY_SECRET
The certificate is valid, but check the secret also.UNCHECKED
The certificate was not checked, fall back to secret validation.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JnlpClientDatabase.ValidationResult
valueOf(String name)
Returns the enum constant of this type with the specified name.static JnlpClientDatabase.ValidationResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVALID
public static final JnlpClientDatabase.ValidationResult INVALID
The certificate is invalid, reject the connection.
-
UNCHECKED
public static final JnlpClientDatabase.ValidationResult UNCHECKED
The certificate was not checked, fall back to secret validation.
-
REVERIFY_SECRET
public static final JnlpClientDatabase.ValidationResult REVERIFY_SECRET
The certificate is valid, but check the secret also.
-
IDENTITY_PROVED
public static final JnlpClientDatabase.ValidationResult IDENTITY_PROVED
The certificate is valid and proven to originate from the named client, skip secret validation.
-
-
Method Detail
-
values
public static JnlpClientDatabase.ValidationResult[] 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 (JnlpClientDatabase.ValidationResult c : JnlpClientDatabase.ValidationResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JnlpClientDatabase.ValidationResult 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
-
-