IllegalSaslStateException
, SaslAuthenticationException
, SslAuthenticationException
, UnsupportedSaslMechanismException
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 | Description |
---|---|
AuthenticationException(java.lang.String message) |
|
AuthenticationException(java.lang.String message,
java.lang.Throwable cause) |
fillInStackTrace