FlightServer.Builder#headerAuthenticator(CallHeaderAuthenticator)
and CallHeaderAuthenticator.@Deprecated public interface ServerAuthHandler
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ServerAuthHandler.ServerAuthSender
Deprecated.
Interface for a server implementations to send back authentication messages
back to the client.
|
| Modifier and Type | Field and Description |
|---|---|
static ServerAuthHandler |
NO_OP
Deprecated.
An auth handler that does nothing.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(ServerAuthHandler.ServerAuthSender outgoing,
Iterator<byte[]> incoming)
Deprecated.
Handle the initial handshake with the client.
|
Optional<String> |
isValid(byte[] token)
Deprecated.
Validate the client token provided on each call.
|
static final ServerAuthHandler NO_OP
Optional<String> isValid(byte[] token)
boolean authenticate(ServerAuthHandler.ServerAuthSender outgoing, Iterator<byte[]> incoming)
outgoing - A writer to send messages to the client.incoming - An iterator of messages from the client.Copyright © 2024 The Apache Software Foundation. All rights reserved.