Package org.jenkinsci.remoting.engine
Enum Class JnlpClientDatabase.ValidationResult
java.lang.Object
java.lang.Enum<JnlpClientDatabase.ValidationResult>
org.jenkinsci.remoting.engine.JnlpClientDatabase.ValidationResult
- All Implemented Interfaces:
Serializable
,Comparable<JnlpClientDatabase.ValidationResult>
,Constable
- Enclosing class:
- JnlpClientDatabase
public static enum JnlpClientDatabase.ValidationResult
extends Enum<JnlpClientDatabase.ValidationResult>
The types of certificate validation results.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum 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 class with the specified name.static JnlpClientDatabase.ValidationResult[]
values()
Returns an array containing the constants of this enum class, 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 class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-