public enum LoginFailedReason extends java.lang.Enum<LoginFailedReason>
Enumeration that defines the reason for a failed login.
The LoginFailedReason
will be provided by calling getLoginFailReason
on a ConnectionStatusEvent
.
Enum Constant and Description |
---|
ACCT_EXPIRED
StreamLink can not log in to the Liberator because the user's account has expired.
|
ALREADY_LOGGED_IN
StreamLink can not log in to the Liberator because the user is already logged in
|
CREDENTIALSERROR
An error occurred whilst retrieving the credentials that are used to log in to the Liberator
|
INVALID_IP
StreamLink can not log in to the Liberator because the connection attempts is made from an invalid IP address.
|
INVALID_PASS
StreamLink can not log in to the Liberator because the user's password is incorrect.
|
INVALID_USER
StreamLink can not log in to the Liberator because the user's username is incorrect.
|
LICENSE_SITE
StreamLink can not log in to the Liberator due to licensing limitations.
|
LICENSE_USER
StreamLink can not log in to the Liberator due to licensing limitations.
|
UNDEFINED
This value is undefined
|
Modifier and Type | Method and Description |
---|---|
static LoginFailedReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LoginFailedReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoginFailedReason INVALID_USER
public static final LoginFailedReason INVALID_PASS
public static final LoginFailedReason INVALID_IP
public static final LoginFailedReason ACCT_EXPIRED
public static final LoginFailedReason ALREADY_LOGGED_IN
public static final LoginFailedReason LICENSE_SITE
public static final LoginFailedReason LICENSE_USER
public static final LoginFailedReason CREDENTIALSERROR
public static final LoginFailedReason UNDEFINED
public static LoginFailedReason[] values()
for (LoginFailedReason c : LoginFailedReason.values()) System.out.println(c);
public static LoginFailedReason 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 nullPlease send bug reports and comments to Caplin support