public class SaslNettyClient extends Object
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Logger |
LOG
Class logger
|
Constructor and Description |
---|
SaslNettyClient()
Create a SaslNettyClient for authentication with BSP servers.
|
Modifier and Type | Method and Description |
---|---|
SaslTokenMessageRequest |
firstToken()
Used by authenticateOnChannel() to initiate SASL handshake with server.
|
Object |
getAuthenticated() |
boolean |
isComplete() |
byte[] |
saslResponse(SaslTokenMessageRequest saslTokenMessage)
Respond to server's SASL token.
|
public SaslNettyClient()
public Object getAuthenticated()
public SaslTokenMessageRequest firstToken() throws IOException
IOException
public boolean isComplete()
public byte[] saslResponse(SaslTokenMessageRequest saslTokenMessage)
saslTokenMessage
- contains server's SASL tokenCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.