Package org.jivesoftware.openfire.sasl
Enum Failure
- java.lang.Object
-
- java.lang.Enum<Failure>
-
- org.jivesoftware.openfire.sasl.Failure
-
- All Implemented Interfaces:
Serializable
,Comparable<Failure>
public enum Failure extends Enum<Failure>
XMPP specified SASL errors.- Author:
- Guus der Kinderen, guus@goodbytes.nl
- See Also:
- RFC 6120 section 6.5
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABORTED
ACCOUNT_DISABLED
CREDENTIALS_EXPIRED
ENCRYPTION_REQUIRED
INCORRECT_ENCODING
INVALID_AUTHZID
INVALID_MECHANISM
MALFORMED_REQUEST
MECHANISM_TOO_WEAK
NOT_AUTHORIZED
TEMPORARY_AUTH_FAILURE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static Failure
valueOf(String name)
Returns the enum constant of this type with the specified name.static Failure[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ABORTED
public static final Failure ABORTED
-
ACCOUNT_DISABLED
public static final Failure ACCOUNT_DISABLED
-
CREDENTIALS_EXPIRED
public static final Failure CREDENTIALS_EXPIRED
-
ENCRYPTION_REQUIRED
public static final Failure ENCRYPTION_REQUIRED
-
INCORRECT_ENCODING
public static final Failure INCORRECT_ENCODING
-
INVALID_AUTHZID
public static final Failure INVALID_AUTHZID
-
INVALID_MECHANISM
public static final Failure INVALID_MECHANISM
-
MALFORMED_REQUEST
public static final Failure MALFORMED_REQUEST
-
MECHANISM_TOO_WEAK
public static final Failure MECHANISM_TOO_WEAK
-
NOT_AUTHORIZED
public static final Failure NOT_AUTHORIZED
-
TEMPORARY_AUTH_FAILURE
public static final Failure TEMPORARY_AUTH_FAILURE
-
-
Method Detail
-
values
public static Failure[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Failure c : Failure.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Failure valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-