public abstract static class Failure.Condition
extends java.lang.Object
A general class for a SASL failure condition.
Modifier and Type | Field and Description |
---|---|
static Failure.Condition |
ABORTED
The implementation of the
<aborted/> SASL failure. |
static Failure.Condition |
ACCOUNT_DISABLED
The implementation of the
<account-disabled/> SASL failure. |
static Failure.Condition |
CREDENTIALS_EXPIRED
The implementation of the
<credentials-expired/> SASL failure. |
static Failure.Condition |
ENCRYPTION_REQUIRED
The implementation of the
<encryption-required/> SASL failure. |
static Failure.Condition |
INCORRECT_ENCODING
The implementation of the
<incorrect-encoding/> SASL failure. |
static Failure.Condition |
INVALID_AUTHZID
The implementation of the
<invalid-authzid/> SASL failure. |
static Failure.Condition |
INVALID_MECHANISM
The implementation of the
<invalid-mechanism/> SASL failure. |
static Failure.Condition |
MALFORMED_REQUEST
The implementation of the
<malformed-request/> SASL failure. |
static Failure.Condition |
MECHANISM_TOO_WEAK
The implementation of the
<mechanism-too-weak/> SASL failure. |
static Failure.Condition |
NOT_AUTHORIZED
The implementation of the
<not-authorized/> SASL failure. |
static Failure.Condition |
TEMPORARY_AUTH_FAILURE
The implementation of the
<temporary-auth-failure/> SASL failure. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
public static final Failure.Condition ABORTED
The implementation of the <aborted/>
SASL failure.
The receiving entity acknowledges that the authentication handshake has been aborted by the initiating entity; sent in reply to the
<abort/>
element.
public static final Failure.Condition ACCOUNT_DISABLED
The implementation of the <account-disabled/>
SASL failure.
The account of the initiating entity has been temporarily disabled; sent in reply to an
<auth/>
element (with or without initial response data) or a<response/>
element.
public static final Failure.Condition CREDENTIALS_EXPIRED
The implementation of the <credentials-expired/>
SASL failure.
The authentication failed because the initiating entity provided credentials that have expired; sent in reply to a
<response/>
element or an<auth/>
element with initial response data.
public static final Failure.Condition ENCRYPTION_REQUIRED
The implementation of the <encryption-required/>
SASL failure.
The mechanism requested by the initiating entity cannot be used unless the confidentiality and integrity of the underlying stream are protected (typically via TLS); sent in reply to an
<auth/>
element (with or without initial response data).
public static final Failure.Condition INCORRECT_ENCODING
The implementation of the <incorrect-encoding/>
SASL failure.
The data provided by the initiating entity could not be processed because the base 64 encoding is incorrect (e.g., because the encoding does not adhere to the definition in Section 4 of [BASE64]); sent in reply to a
<response/>
element or an<auth/>
element with initial response data.
public static final Failure.Condition INVALID_AUTHZID
The implementation of the <invalid-authzid/>
SASL failure.
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; sent in reply to a
<response/>
element or an<auth/>
element with initial response data.
public static final Failure.Condition INVALID_MECHANISM
The implementation of the <invalid-mechanism/>
SASL failure.
The initiating entity did not specify a mechanism, or requested a mechanism that is not supported by the receiving entity; sent in reply to an
<auth/>
element.
public static final Failure.Condition MALFORMED_REQUEST
The implementation of the <malformed-request/>
SASL failure.
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); sent in reply to an<abort/>
,<auth/>
,<challenge/>
, or<response/>
element.
public static final Failure.Condition MECHANISM_TOO_WEAK
The implementation of the <mechanism-too-weak/>
SASL failure.
The mechanism requested by the initiating entity is weaker than server policy permits for that initiating entity; sent in reply to an
<auth/>
element (with or without initial response data).
public static final Failure.Condition NOT_AUTHORIZED
The implementation of the <not-authorized/>
SASL failure.
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; sent in reply to a
<response/>
element or an<auth/>
element with initial response data.
public static final Failure.Condition TEMPORARY_AUTH_FAILURE
The implementation of the <temporary-auth-failure/>
SASL failure.
6.5.11. 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; sent in reply to an
<auth/>
element or a<response/>
element.
Copyright © 2014–2019 XMPP.rocks. All rights reserved.