public enum AuthBackend extends Enum<AuthBackend>
Enum Constant and Description |
---|
APPID |
APPROLE |
TOKEN |
UNKNOWN |
USERPASS |
Modifier and Type | Method and Description |
---|---|
static AuthBackend |
forType(String type) |
static AuthBackend |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthBackend[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthBackend TOKEN
public static final AuthBackend APPID
public static final AuthBackend APPROLE
public static final AuthBackend USERPASS
public static final AuthBackend UNKNOWN
public static AuthBackend[] values()
for (AuthBackend c : AuthBackend.values()) System.out.println(c);
public static AuthBackend 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 AuthBackend forType(String type)
Copyright © 2016. All rights reserved.