Package org.apache.kafka.common.errors
Class AuthenticationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.kafka.common.KafkaException
org.apache.kafka.common.errors.ApiException
org.apache.kafka.common.errors.AuthenticationException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- IllegalSaslStateException,- SaslAuthenticationException,- SslAuthenticationException,- UnsupportedSaslMechanismException
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- SSLException.
SaslAuthenticationException if SASL handshake fails with invalid credentials
   or any other failure specific to the SASL mechanism used for authentication
   - See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionAuthenticationException(String message) AuthenticationException(String message, Throwable cause) AuthenticationException(Throwable cause) 
- 
Method SummaryMethods inherited from class org.apache.kafka.common.errors.ApiExceptionfillInStackTraceMethods inherited from class java.lang.ThrowableaddSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
AuthenticationException
- 
AuthenticationException
- 
AuthenticationException
 
-