Class AuthenticationDataBasic
java.lang.Object
org.apache.pulsar.client.impl.auth.AuthenticationDataBasic
- All Implemented Interfaces:
Serializable
,AuthenticationDataProvider
- See Also:
-
Field Summary
Fields inherited from interface org.apache.pulsar.client.api.AuthenticationDataProvider
PULSAR_AUTH_METHOD_NAME
-
Constructor Summary
ConstructorDescriptionAuthenticationDataBasic
(String userInfo) AuthenticationDataBasic
(String userId, String password) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
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, getTlsCertificateFilePath, getTlsCertificates, getTlsKeyStoreParams, getTlsPrivateKey, getTlsPrivateKeyFilePath, getTlsTrustStoreStream, hasDataForTls
-
Constructor Details
-
AuthenticationDataBasic
-
AuthenticationDataBasic
-
-
Method Details
-
hasDataForHttp
public boolean hasDataForHttp()- Specified by:
hasDataForHttp
in interfaceAuthenticationDataProvider
-
getHttpHeaders
- Specified by:
getHttpHeaders
in interfaceAuthenticationDataProvider
-
hasDataFromCommand
public boolean hasDataFromCommand()- Specified by:
hasDataFromCommand
in interfaceAuthenticationDataProvider
-
getCommandData
- Specified by:
getCommandData
in interfaceAuthenticationDataProvider
-