Enum Constant and Description |
---|
CERT_AUTH
The "Certificate Authentication" mode
|
CERT_PASSWORD_AUTH
The "Certificate + Password Authentication" mode
|
CUST_AUTH
The "Custom Authentication" authentication mode
|
PASSWORD_AUTH
The "Password Authentication" mode
|
SERVER_AUTH
The "Server Authentication" mode
|
Modifier and Type | Field and Description |
---|---|
private static AccountsConstants |
CONSTANTS
The instance of accounts constants provider
|
private static java.util.Map<java.lang.String,java.lang.String> |
MAP
The authentication modes
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getTranslation(java.lang.String key)
Gets labels for the target mode
|
java.lang.String |
toString()
Returns its presentation value.
|
static AuthModes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AuthModes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthModes SERVER_AUTH
public static final AuthModes PASSWORD_AUTH
public static final AuthModes CERT_AUTH
public static final AuthModes CERT_PASSWORD_AUTH
public static final AuthModes CUST_AUTH
private static final AccountsConstants CONSTANTS
private static final java.util.Map<java.lang.String,java.lang.String> MAP
public static AuthModes[] values()
for (AuthModes c : AuthModes.values()) System.out.println(c);
public static AuthModes valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<AuthModes>
public static java.lang.String getTranslation(java.lang.String key)
key
- An authorization mode name used as a key to retrieve its label value.