public class AuthenticationException extends ApiException
SaslAuthenticationException
if SASL handshake fails with invalid credentials
or any other failure specific to the SASL mechanism used for authentication
UnsupportedSaslMechanismException
if the SASL mechanism requested by the client
is not supported on the broker.IllegalSaslStateException
if an unexpected request is received on during SASL
handshake. This could be due to misconfigured security protocol.SslAuthenticationException
if SSL handshake failed due to any SSLException
.
Constructor and Description |
---|
AuthenticationException(String message) |
AuthenticationException(String message,
Throwable cause) |
AuthenticationException(Throwable cause) |
fillInStackTrace
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString