public enum AuthPolicy extends Enum<AuthPolicy>
| Enum Constant and Description |
|---|
CLIENT_AUTH |
NONE |
SERVER_AUTH |
| Modifier and Type | Method and Description |
|---|---|
static AuthPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthPolicy NONE
public static final AuthPolicy SERVER_AUTH
public static final AuthPolicy CLIENT_AUTH
public static AuthPolicy[] values()
for (AuthPolicy c : AuthPolicy.values()) System.out.println(c);
public static AuthPolicy 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 © 2011–2020 The Apache Software Foundation. All rights reserved.