Package jakarta.ws.rs
Enum Class SeBootstrap.Configuration.SSLClientAuthentication
java.lang.Object
java.lang.Enum<SeBootstrap.Configuration.SSLClientAuthentication>
jakarta.ws.rs.SeBootstrap.Configuration.SSLClientAuthentication
- All Implemented Interfaces:
Serializable
,Comparable<SeBootstrap.Configuration.SSLClientAuthentication>
,Constable
- Enclosing interface:
- SeBootstrap.Configuration
public static enum SeBootstrap.Configuration.SSLClientAuthentication
extends Enum<SeBootstrap.Configuration.SSLClientAuthentication>
Secure socket client authentication policy
This policy is used in secure socket handshake to control whether the server requests client authentication, and whether successful client authentication is mandatory (i. e. connection attempt will fail for invalid clients).
- Since:
- 3.1
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
Server will not request client authentication.- Since:
- 3.1
-
OPTIONAL
Client authentication is performed, but invalid clients are accepted.- Since:
- 3.1
-
MANDATORY
Client authentication is performed, and invalid clients are rejected.- Since:
- 3.1
-
-
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
-