Class SaslAuthenticationDataProvider
java.lang.Object
org.apache.pulsar.client.impl.auth.SaslAuthenticationDataProvider
- All Implemented Interfaces:
Serializable,org.apache.pulsar.client.api.AuthenticationDataProvider
public class SaslAuthenticationDataProvider
extends Object
implements org.apache.pulsar.client.api.AuthenticationDataProvider
- See Also:
-
Field Summary
Fields inherited from interface org.apache.pulsar.client.api.AuthenticationDataProvider
PULSAR_AUTH_METHOD_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.pulsar.common.api.AuthDataauthenticate(org.apache.pulsar.common.api.AuthData commandData) booleanbooleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pulsar.client.api.AuthenticationDataProvider
getCommandData, getHttpAuthType, getTlsCerificateFilePath, getTlsCertificates, getTlsKeyStoreParams, getTlsPrivateKey, getTlsPrivateKeyFilePath, getTlsTrustStoreStream, hasDataForTls
-
Constructor Details
-
SaslAuthenticationDataProvider
-
-
Method Details
-
hasDataFromCommand
public boolean hasDataFromCommand()- Specified by:
hasDataFromCommandin interfaceorg.apache.pulsar.client.api.AuthenticationDataProvider
-
authenticate
public org.apache.pulsar.common.api.AuthData authenticate(org.apache.pulsar.common.api.AuthData commandData) throws AuthenticationException - Specified by:
authenticatein interfaceorg.apache.pulsar.client.api.AuthenticationDataProvider- Throws:
AuthenticationException
-
hasDataForHttp
public boolean hasDataForHttp()- Specified by:
hasDataForHttpin interfaceorg.apache.pulsar.client.api.AuthenticationDataProvider
-
getHttpHeaders
- Specified by:
getHttpHeadersin interfaceorg.apache.pulsar.client.api.AuthenticationDataProvider- Throws:
Exception
-