Class AuthenticationException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IllegalSaslStateException, SaslAuthenticationException, SslAuthenticationException, UnsupportedSaslMechanismException

public class AuthenticationExceptionextends InvalidConfigurationException
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:
See Also:
  • Constructor Details

    • AuthenticationException

      public AuthenticationException(String message)
    • AuthenticationException

      public AuthenticationException(Throwable cause)
    • AuthenticationException

      public AuthenticationException(Throwable cause, org.apache.kafka.server.audit.AuthenticationErrorInfo errorInfo)
    • AuthenticationException

      public AuthenticationException(String message, Throwable cause)
    • AuthenticationException

      public AuthenticationException(String message, org.apache.kafka.server.audit.AuthenticationErrorInfo errorInfo)
    • AuthenticationException

      public AuthenticationException(String message, Throwable cause, org.apache.kafka.server.audit.AuthenticationErrorInfo errorInfo)
  • Method Details

    • errorInfo

      public org.apache.kafka.server.audit.AuthenticationErrorInfo errorInfo()
    • logMessage

      public String logMessage()
      This message is for internal logging and should not be returned to clients.
    • errorMessage

      public String errorMessage()
      This message is for internal logging/auditing and should not be returned to clients.