Class PulsarSaslClient
java.lang.Object
org.apache.pulsar.client.impl.auth.PulsarSaslClient
A SASL Client object.
This is added for support Kerberos authentication.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.pulsar.common.api.AuthDataevaluateChallenge(org.apache.pulsar.common.api.AuthData saslToken) booleanboolean
-
Constructor Details
-
PulsarSaslClient
public PulsarSaslClient(String serverHostname, String serverType, Subject subject) throws SaslException - Throws:
SaslException
-
-
Method Details
-
evaluateChallenge
public org.apache.pulsar.common.api.AuthData evaluateChallenge(org.apache.pulsar.common.api.AuthData saslToken) throws AuthenticationException - Throws:
AuthenticationException
-
hasInitialResponse
public boolean hasInitialResponse() -
isComplete
public boolean isComplete()
-