- All Implemented Interfaces:
- Direct Known Subclasses:
public class AuthenticationException extends ApiException
This exception indicates that SASL authentication has failed. On authentication failure, clients abort the operation requested and raise one of the subclasses of this exception:
UnsupportedSaslMechanismExceptionif the SASL mechanism requested by the client is not supported on the broker.
IllegalSaslStateExceptionif an unexpected request is received on during SASL handshake. This could be due to misconfigured security protocol.
SslAuthenticationExceptionif SSL handshake failed due to any
SaslAuthenticationException if SASL handshake fails with invalid credentials
or any other failure specific to the SASL mechanism used for authentication
- See Also: