Class SaslAuthenticatorTest.TestLogin

java.lang.Object
org.apache.kafka.common.security.authenticator.SaslAuthenticatorTest.TestLogin
All Implemented Interfaces:
org.apache.kafka.common.security.auth.Login
Enclosing class:
SaslAuthenticatorTest

public static class SaslAuthenticatorTest.TestLogin extends Object implements org.apache.kafka.common.security.auth.Login
  • Constructor Details

    • TestLogin

      public TestLogin()
  • Method Details

    • configure

      public void configure(Map<String,?> configs, String contextName, Configuration configuration, org.apache.kafka.common.security.auth.AuthenticateCallbackHandler callbackHandler)
      Specified by:
      configure in interface org.apache.kafka.common.security.auth.Login
    • login

      public LoginContext login() throws LoginException
      Specified by:
      login in interface org.apache.kafka.common.security.auth.Login
      Throws:
      LoginException
    • subject

      public Subject subject()
      Specified by:
      subject in interface org.apache.kafka.common.security.auth.Login
    • serviceName

      public String serviceName()
      Specified by:
      serviceName in interface org.apache.kafka.common.security.auth.Login
    • close

      public void close()
      Specified by:
      close in interface org.apache.kafka.common.security.auth.Login