public enum ClientAuth extends Enum<ClientAuth>
Enum Constant and Description |
---|
NONE
No client authentication is requested or required.
|
REQUEST
Accept authentication if presented by client.
|
REQUIRED
Require client to present authentication, if not presented then negotiations will be declined.
|
Modifier and Type | Method and Description |
---|---|
static ClientAuth |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClientAuth[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientAuth NONE
public static final ClientAuth REQUEST
public static final ClientAuth REQUIRED
public static ClientAuth[] values()
for (ClientAuth c : ClientAuth.values()) System.out.println(c);
public static ClientAuth valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2023 Eclipse. All rights reserved.