Class PulsarSaslClient


  • public class PulsarSaslClient
    extends java.lang.Object
    A SASL Client object. This is added for support Kerberos authentication.
    • Constructor Summary

      Constructors 
      Constructor Description
      PulsarSaslClient​(java.lang.String serverHostname, java.lang.String serverType, javax.security.auth.Subject subject)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.pulsar.common.api.AuthData evaluateChallenge​(org.apache.pulsar.common.api.AuthData saslToken)  
      boolean hasInitialResponse()  
      boolean isComplete()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PulsarSaslClient

        public PulsarSaslClient​(java.lang.String serverHostname,
                                java.lang.String serverType,
                                javax.security.auth.Subject subject)
                         throws javax.security.sasl.SaslException
        Throws:
        javax.security.sasl.SaslException
    • Method Detail

      • evaluateChallenge

        public org.apache.pulsar.common.api.AuthData evaluateChallenge​(org.apache.pulsar.common.api.AuthData saslToken)
                                                                throws javax.naming.AuthenticationException
        Throws:
        javax.naming.AuthenticationException
      • hasInitialResponse

        public boolean hasInitialResponse()
      • isComplete

        public boolean isComplete()