Package org.apache.storm.messaging.netty
Class SaslNettyClient
java.lang.Object
org.apache.storm.messaging.netty.SaslNettyClient
Implements SASL logic for storm worker client processes.
-
Constructor Summary
ConstructorDescriptionSaslNettyClient
(String topologyName, byte[] token) Create a SaslNettyClient for authentication with servers. -
Method Summary
Modifier and TypeMethodDescriptionboolean
byte[]
saslResponse
(SaslMessageToken saslTokenMessage) Respond to server's SASL token.
-
Constructor Details
-
SaslNettyClient
Create a SaslNettyClient for authentication with servers.
-
-
Method Details
-
isComplete
public boolean isComplete() -
saslResponse
Respond to server's SASL token.- Parameters:
saslTokenMessage
- contains server's SASL token- Returns:
- client's response SASL token
-