public class SaslNettyClient extends Object
Implements SASL logic for storm worker client processes.
Constructor and Description |
---|
SaslNettyClient(String topologyName,
byte[] token)
Create a SaslNettyClient for authentication with servers.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isComplete() |
byte[] |
saslResponse(SaslMessageToken saslTokenMessage)
Respond to server’s SASL token.
|
public SaslNettyClient(String topologyName, byte[] token)
Create a SaslNettyClient for authentication with servers.
public boolean isComplete()
public byte[] saslResponse(SaslMessageToken saslTokenMessage)
Respond to server’s SASL token.
saslTokenMessage
- contains server’s SASL tokenCopyright © 2020 The Apache Software Foundation. All rights reserved.