public enum AuthenticationMethod extends Enum<AuthenticationMethod>
Enum Constant and Description |
---|
PASSWORD |
TWO_FACTOR |
Modifier and Type | Method and Description |
---|---|
static AuthenticationMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthenticationMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthenticationMethod PASSWORD
public static final AuthenticationMethod TWO_FACTOR
public static AuthenticationMethod[] values()
for (AuthenticationMethod c : AuthenticationMethod.values()) System.out.println(c);
public static AuthenticationMethod 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 nullApache CXF