Package jakarta.ws.rs
Enum 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>
- Enclosing interface:
- SeBootstrap.Configuration
public static enum SeBootstrap.Configuration.SSLClientAuthentication extends Enum<SeBootstrap.Configuration.SSLClientAuthentication>
Secure socket client authentication policyThis 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
- Author:
- Markus KARG (markus@headcrashing.eu)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SeBootstrap.Configuration.SSLClientAuthentication
valueOf(String name)
Returns the enum constant of this type with the specified name.static SeBootstrap.Configuration.SSLClientAuthentication[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final SeBootstrap.Configuration.SSLClientAuthentication NONE
Server will not request client authentication.- Since:
- 3.1
-
OPTIONAL
public static final SeBootstrap.Configuration.SSLClientAuthentication OPTIONAL
Client authentication is performed, but invalid clients are accepted.- Since:
- 3.1
-
MANDATORY
public static final SeBootstrap.Configuration.SSLClientAuthentication MANDATORY
Client authentication is performed, and invalid clients are rejected.- Since:
- 3.1
-
-
Method Detail
-
values
public static SeBootstrap.Configuration.SSLClientAuthentication[] 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 (SeBootstrap.Configuration.SSLClientAuthentication c : SeBootstrap.Configuration.SSLClientAuthentication.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SeBootstrap.Configuration.SSLClientAuthentication 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
-
-