Package org.apache.storm.messaging.netty

# Class KerberosSaslNettyClient

java.lang.Object
org.apache.storm.messaging.netty.KerberosSaslNettyClient

public class KerberosSaslNettyClient extends Object
Implements SASL logic for storm worker client processes.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `KerberosSaslNettyClient(Map<String,Object> topoConf, String jaasSection, String host)`
  Create a KerberosSaslNettyClient for authentication with servers.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `isComplete()`
  `byte[]`
  `saslResponse(SaslMessageToken saslTokenMessage)`
  Respond to server's SASL token.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### KerberosSaslNettyClient

    public KerberosSaslNettyClient(Map<String,Object> topoConf, String jaasSection, String host)
    Create a KerberosSaslNettyClient for authentication with servers.

- ## Method Details

  - ### isComplete

    public boolean isComplete()

  - ### saslResponse

    public byte[] saslResponse(SaslMessageToken saslTokenMessage)
    Respond to server's SASL token.
    Parameters:
      `saslTokenMessage` - contains server's SASL token
    Returns:
      client's response SASL token