Class AuthenticationDataBasic

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.pulsar.client.api.AuthenticationDataProvider

    public class AuthenticationDataBasic
    extends java.lang.Object
    implements org.apache.pulsar.client.api.AuthenticationDataProvider
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      AuthenticationDataBasic​(java.lang.String userId, java.lang.String password)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCommandData()  
      java.util.Set<java.util.Map.Entry<java.lang.String,​java.lang.String>> getHttpHeaders()  
      boolean hasDataForHttp()  
      boolean hasDataFromCommand()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.pulsar.client.api.AuthenticationDataProvider

        authenticate, getHttpAuthType, getTlsCerificateFilePath, getTlsCertificates, getTlsKeyStoreParams, getTlsPrivateKey, getTlsPrivateKeyFilePath, getTlsTrustStoreStream, hasDataForTls
    • Constructor Detail

      • AuthenticationDataBasic

        public AuthenticationDataBasic​(java.lang.String userId,
                                       java.lang.String password)
    • Method Detail

      • hasDataForHttp

        public boolean hasDataForHttp()
        Specified by:
        hasDataForHttp in interface org.apache.pulsar.client.api.AuthenticationDataProvider
      • getHttpHeaders

        public java.util.Set<java.util.Map.Entry<java.lang.String,​java.lang.String>> getHttpHeaders()
        Specified by:
        getHttpHeaders in interface org.apache.pulsar.client.api.AuthenticationDataProvider
      • hasDataFromCommand

        public boolean hasDataFromCommand()
        Specified by:
        hasDataFromCommand in interface org.apache.pulsar.client.api.AuthenticationDataProvider
      • getCommandData

        public java.lang.String getCommandData()
        Specified by:
        getCommandData in interface org.apache.pulsar.client.api.AuthenticationDataProvider