public enum ApOption extends Enum<ApOption> implements EnumType
APOptions ::= KerberosFlags
-- reserved(0),
-- use-session-key(1),
-- mutual-required(2)
| Enum Constant and Description |
|---|
ETYPE_NEGOTIATION |
MUTUAL_REQUIRED |
NONE |
RESERVED |
USE_SESSION_KEY |
USE_SUBKEY |
| Modifier and Type | Method and Description |
|---|---|
static ApOption |
fromValue(int value)
Get the APOptions associated with a value.
|
String |
getName() |
int |
getValue() |
static ApOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApOption NONE
public static final ApOption RESERVED
public static final ApOption USE_SESSION_KEY
public static final ApOption MUTUAL_REQUIRED
public static final ApOption ETYPE_NEGOTIATION
public static final ApOption USE_SUBKEY
public static ApOption[] values()
for (ApOption c : ApOption.values()) System.out.println(c);
public static ApOption 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 nullpublic static ApOption fromValue(int value)
value - The integer value of the APOptions we are looking forCopyright © 2014–2016 The Apache Software Foundation. All rights reserved.