Interface SaslClientHandler

  • All Superinterfaces:
    java.lang.AutoCloseable
    All Known Implementing Classes:
    AbstractSaslClientHandler, SaslClientHandlerPlain

    public interface SaslClientHandler
    extends java.lang.AutoCloseable
    Interface for authentication scheme specific SaslClient management.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void close()
      Close the handler and dispose internal resources.
      alluxio.grpc.SaslMessage handleMessage​(alluxio.grpc.SaslMessage message)
      Handles the given SaslMessage from the server.
    • Method Detail

      • handleMessage

        alluxio.grpc.SaslMessage handleMessage​(alluxio.grpc.SaslMessage message)
                                        throws javax.security.sasl.SaslException
        Handles the given SaslMessage from the server.
        Parameters:
        message - server-side Sasl message to handle
        Returns:
        client's answer. null if client is completed
        Throws:
        javax.security.sasl.SaslException
      • close

        void close()
        Close the handler and dispose internal resources.
        Specified by:
        close in interface java.lang.AutoCloseable