org.apache.storm.messaging.netty

## Class SaslNettyClient

- java.lang.Object
- - org.apache.storm.messaging.netty.SaslNettyClient

-     public class SaslNettyClient
      extends Object

  Implements SASL logic for storm worker client processes.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SaslNettyClient(String topologyName, byte[] token)` Create a SaslNettyClient 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

    - #### SaslNettyClient

          public SaslNettyClient(String topologyName,
                                 byte[] token)

      Create a SaslNettyClient 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.