Package tigase.auth
Enum Class XmppSaslException.SaslError
- All Implemented Interfaces:
Serializable
,Comparable<XmppSaslException.SaslError>
,Constable
- Enclosing class:
- XmppSaslException
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe receiving entity acknowledges that the authentication handshake has been aborted by the initiating entity.The account of the initiating entity has been temporarily disabled.The authentication failed because the initiating entity provided credentials that have expired.The mechanism requested by the initiating entity cannot be used unless the confidentiality and integrity of the underlying stream are protected (typically via TLS).The data provided by the initiating entity could not be processed because the base 64 encoding is incorrect.The authzid provided by the initiating entity is invalid, either because it is incorrectly formatted or because the initiating entity does not have permissions to authorize that ID.The initiating entity did not specify a mechanism, or requested a mechanism that is not supported by the receiving entity.The request is malformed (e.g., the<auth/>
element includes initial response data but the mechanism does not allow that, or the data sent violates the syntax for the specified SASL mechanism).The mechanism requested by the initiating entity is weaker than server policy permits for that initiating entity.The authentication failed because the initiating entity did not provide proper credentials, or because some generic authentication failure has occurred but the receiving entity does not wish to disclose specific information about the cause of the failure.The authentication failed because of a temporary error condition within the receiving entity, and it is advisable for the initiating entity to try again later. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic XmppSaslException.SaslError
Returns the enum constant of this class with the specified name.static XmppSaslException.SaslError[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
aborted
The receiving entity acknowledges that the authentication handshake has been aborted by the initiating entity. -
account_disabled
The account of the initiating entity has been temporarily disabled. -
credentials_expired
The authentication failed because the initiating entity provided credentials that have expired. -
encryption_required
The mechanism requested by the initiating entity cannot be used unless the confidentiality and integrity of the underlying stream are protected (typically via TLS). -
incorrect_encoding
The data provided by the initiating entity could not be processed because the base 64 encoding is incorrect. -
invalid_authzid
The authzid provided by the initiating entity is invalid, either because it is incorrectly formatted or because the initiating entity does not have permissions to authorize that ID. -
invalid_mechanism
The initiating entity did not specify a mechanism, or requested a mechanism that is not supported by the receiving entity. -
malformed_request
The request is malformed (e.g., the<auth/>
element includes initial response data but the mechanism does not allow that, or the data sent violates the syntax for the specified SASL mechanism). -
mechanism_too_weak
The mechanism requested by the initiating entity is weaker than server policy permits for that initiating entity. -
not_authorized
The authentication failed because the initiating entity did not provide proper credentials, or because some generic authentication failure has occurred but the receiving entity does not wish to disclose specific information about the cause of the failure. -
temporary_auth_failure
The authentication failed because of a temporary error condition within the receiving entity, and it is advisable for the initiating entity to try again later.
-
-
Field Details
-
XMLNS
- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getElementName
-
getElement
-