public enum TokenFlag extends Enum<TokenFlag> implements org.apache.kerby.asn1.EnumType
| Enum Constant and Description |
|---|
AC_TOKEN_REQUIRED |
BEARER_TOKEN_REQUIRED |
HOK_TOKEN_REQUIRED |
ID_TOKEN_REQUIRED |
NONE |
| Modifier and Type | Method and Description |
|---|---|
static TokenFlag |
fromValue(int value) |
String |
getName() |
int |
getValue() |
static TokenFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TokenFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TokenFlag NONE
public static final TokenFlag ID_TOKEN_REQUIRED
public static final TokenFlag AC_TOKEN_REQUIRED
public static final TokenFlag BEARER_TOKEN_REQUIRED
public static final TokenFlag HOK_TOKEN_REQUIRED
public static TokenFlag[] values()
for (TokenFlag c : TokenFlag.values()) System.out.println(c);
public static TokenFlag 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 int getValue()
getValue in interface org.apache.kerby.asn1.EnumTypepublic String getName()
getName in interface org.apache.kerby.asn1.EnumTypepublic static TokenFlag fromValue(int value)
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.