public enum AuthTokenEnabledComponents extends Enum<AuthTokenEnabledComponents>
Enum Constant and Description |
---|
ALL
This determines that all rest components will use token based authentication.
|
MANAGEMENT
This determines that management rest service will use token based authentication.
|
PULSE
This determines if Pulse will use token based authentication.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
hasManagement(String value) |
static boolean |
hasPulse(String value) |
static AuthTokenEnabledComponents |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthTokenEnabledComponents[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthTokenEnabledComponents ALL
public static final AuthTokenEnabledComponents MANAGEMENT
public static final AuthTokenEnabledComponents PULSE
public static AuthTokenEnabledComponents[] values()
for (AuthTokenEnabledComponents c : AuthTokenEnabledComponents.values()) System.out.println(c);
public static AuthTokenEnabledComponents 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 boolean hasManagement(String value)
public static boolean hasPulse(String value)