public enum TokenOption extends Enum<TokenOption> implements org.apache.kerby.KOption
| Enum Constant and Description |
|---|
NONE |
USE_TOKEN |
USER_AC_TOKEN |
USER_ID_TOKEN |
| Modifier and Type | Method and Description |
|---|---|
static TokenOption |
fromOptionName(String optionName) |
org.apache.kerby.KOptionInfo |
getOptionInfo() |
static TokenOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TokenOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TokenOption NONE
public static final TokenOption USE_TOKEN
public static final TokenOption USER_ID_TOKEN
public static final TokenOption USER_AC_TOKEN
public static TokenOption[] values()
for (TokenOption c : TokenOption.values()) System.out.println(c);
public static TokenOption 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 org.apache.kerby.KOptionInfo getOptionInfo()
getOptionInfo in interface org.apache.kerby.KOptionpublic static TokenOption fromOptionName(String optionName)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.