public class BasicClientAuthHandler extends Object implements ClientAuthHandler
ClientAuthHandler.ClientAuthSender| Constructor and Description |
|---|
BasicClientAuthHandler(String name,
String password) |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate(ClientAuthHandler.ClientAuthSender outgoing,
Iterator<byte[]> incoming)
Handle the initial handshake with the server.
|
byte[] |
getCallToken()
Get the per-call authentication token.
|
public void authenticate(ClientAuthHandler.ClientAuthSender outgoing, Iterator<byte[]> incoming)
ClientAuthHandlerauthenticate in interface ClientAuthHandleroutgoing - A channel to send data to the server.incoming - An iterator of incoming data from the server.public byte[] getCallToken()
ClientAuthHandlergetCallToken in interface ClientAuthHandlerCopyright © 2024 The Apache Software Foundation. All rights reserved.