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 ConstantDescriptionThe certificate is valid and proven to originate from the named client, skip secret validation.The certificate is invalid, reject the connection.The certificate is valid, but check the secret also.The certificate was not checked, fall back to secret validation. -
Method Summary
Modifier and TypeMethodDescriptionReturns 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 Details
-
INVALID
The certificate is invalid, reject the connection. -
UNCHECKED
The certificate was not checked, fall back to secret validation. -
REVERIFY_SECRET
The certificate is valid, but check the secret also. -
IDENTITY_PROVED
The certificate is valid and proven to originate from the named client, skip secret validation.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-