Class Failure.Condition

  • Enclosing class:
    Failure

    public abstract static class Failure.Condition
    extends Object
    A general class for a SASL failure condition.
    • Field Detail

      • ABORTED

        public static final Failure.Condition ABORTED
        The implementation of the <aborted/> SASL failure.

        6.5.1. aborted

        The receiving entity acknowledges that the authentication handshake has been aborted by the initiating entity; sent in reply to the <abort/> element.

      • ACCOUNT_DISABLED

        public static final Failure.Condition ACCOUNT_DISABLED
        The implementation of the <account-disabled/> SASL failure.

        6.5.2. account-disabled

        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.

      • CREDENTIALS_EXPIRED

        public static final Failure.Condition CREDENTIALS_EXPIRED
        The implementation of the <credentials-expired/> SASL failure.

        6.5.3. credentials-expired

        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.

      • ENCRYPTION_REQUIRED

        public static final Failure.Condition ENCRYPTION_REQUIRED
        The implementation of the <encryption-required/> SASL failure.

        6.5.4. 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); sent in reply to an <auth/> element (with or without initial response data).

      • INCORRECT_ENCODING

        public static final Failure.Condition INCORRECT_ENCODING
        The implementation of the <incorrect-encoding/> SASL failure.

        6.5.5. incorrect-encoding

        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.

      • INVALID_AUTHZID

        public static final Failure.Condition INVALID_AUTHZID
        The implementation of the <invalid-authzid/> SASL failure.

        6.5.6. 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; sent in reply to a <response/> element or an <auth/> element with initial response data.

      • INVALID_MECHANISM

        public static final Failure.Condition INVALID_MECHANISM
        The implementation of the <invalid-mechanism/> SASL failure.

        6.5.7. invalid-mechanism

        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.

      • MALFORMED_REQUEST

        public static final Failure.Condition MALFORMED_REQUEST
        The implementation of the <malformed-request/> SASL failure.

        6.5.8. 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); sent in reply to an <abort/>, <auth/>, <challenge/>, or <response/> element.

      • MECHANISM_TOO_WEAK

        public static final Failure.Condition MECHANISM_TOO_WEAK
        The implementation of the <mechanism-too-weak/> SASL failure.

        6.5.9. mechanism-too-weak

        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).

      • NOT_AUTHORIZED

        public static final Failure.Condition NOT_AUTHORIZED
        The implementation of the <not-authorized/> SASL failure.

        6.5.10. 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; sent in reply to a <response/> element or an <auth/> element with initial response data.

      • TEMPORARY_AUTH_FAILURE

        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.