public enum AuthenticatorFailoverMode extends java.lang.Enum<AuthenticatorFailoverMode> implements Localized
HARD: The failover profile will be used when an error (such as an I/O error) occurs when authenticating
SOFT: The failover profile will be used either when there is an error or simply when authentication fails for the user.
Enum Constant and Description |
---|
HARD
Fail-over only when an error occurs when trying to authenticate, but not if the credentials were invalid.
|
SOFT
Fail-over when an error occurs or when the credentials you tried were invalid.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString(java.util.Locale locale) |
static AuthenticatorFailoverMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AuthenticatorFailoverMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthenticatorFailoverMode HARD
public static final AuthenticatorFailoverMode SOFT
public static AuthenticatorFailoverMode[] values()
for (AuthenticatorFailoverMode c : AuthenticatorFailoverMode.values()) System.out.println(c);
public static AuthenticatorFailoverMode 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 null