Class AuthenticationBasic

java.lang.Object
org.apache.pulsar.client.impl.auth.AuthenticationBasic
All Implemented Interfaces:
Closeable, Serializable, AutoCloseable, org.apache.pulsar.client.api.Authentication, org.apache.pulsar.client.api.EncodedAuthenticationParameterSupport

public class AuthenticationBasic extends Object implements org.apache.pulsar.client.api.Authentication, org.apache.pulsar.client.api.EncodedAuthenticationParameterSupport
See Also:
  • Constructor Details

    • AuthenticationBasic

      public AuthenticationBasic()
  • Method Details

    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Throws:
      IOException
    • getAuthMethodName

      public String getAuthMethodName()
      Specified by:
      getAuthMethodName in interface org.apache.pulsar.client.api.Authentication
    • getAuthData

      public org.apache.pulsar.client.api.AuthenticationDataProvider getAuthData() throws org.apache.pulsar.client.api.PulsarClientException
      Specified by:
      getAuthData in interface org.apache.pulsar.client.api.Authentication
      Throws:
      org.apache.pulsar.client.api.PulsarClientException
    • configure

      public void configure(Map<String,String> authParams)
      Specified by:
      configure in interface org.apache.pulsar.client.api.Authentication
    • configure

      public void configure(String encodedAuthParamString)
      Specified by:
      configure in interface org.apache.pulsar.client.api.EncodedAuthenticationParameterSupport
    • start

      public void start() throws org.apache.pulsar.client.api.PulsarClientException
      Specified by:
      start in interface org.apache.pulsar.client.api.Authentication
      Throws:
      org.apache.pulsar.client.api.PulsarClientException