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 and Description
    `KerberosSaslNettyClient(Map<String,Object> topoConf, String jaasSection, String host)` Create a KerberosSaslNettyClient for authentication with servers.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 Detail

    - #### KerberosSaslNettyClient

          public KerberosSaslNettyClient(Map<String,Object> topoConf,
                                         String jaasSection,
                                         String host)

      Create a KerberosSaslNettyClient for authentication with servers.

  - ### Method Detail

    - #### 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

Copyright © 2021 The Apache Software Foundation. All rights reserved.