public enum TokenCategory extends Enum<TokenCategory>
Enum Constant and Description |
---|
ACCESS |
ADMIN |
ID |
INTERNAL |
USERINFO |
Modifier and Type | Method and Description |
---|---|
static TokenCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TokenCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TokenCategory INTERNAL
public static final TokenCategory ACCESS
public static final TokenCategory ID
public static final TokenCategory ADMIN
public static final TokenCategory USERINFO
public static TokenCategory[] values()
for (TokenCategory c : TokenCategory.values()) System.out.println(c);
public static TokenCategory 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 © 2019 JBoss by Red Hat. All rights reserved.