Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,16 @@

import java.util.Iterator;

import org.apache.arrow.flight.FlightClient;

/**
* Implement authentication for Flight on the client side.
*
* @deprecated As of 14.0.0. This implements a stateful "login" flow that does not play well with
* distributed or stateless systems. It will not be removed, but should not be used. Instead
* see {@link FlightClient#authenticateBasicToken(String, String)}.
*/
@Deprecated
public interface ClientAuthHandler {
/**
* Handle the initial handshake with the server.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,18 @@
import java.util.Iterator;
import java.util.Optional;

import org.apache.arrow.flight.FlightServer;
import org.apache.arrow.flight.auth2.CallHeaderAuthenticator;

/**
* Interface for Server side authentication handlers.
*
* @deprecated As of 14.0.0. This implements a stateful "login" flow that does not play well with
* distributed or stateless systems. It will not be removed, but should not be used. Instead,
* see {@link FlightServer.Builder#headerAuthenticator(CallHeaderAuthenticator)}
* and {@link CallHeaderAuthenticator}.
*/
@Deprecated
public interface ServerAuthHandler {

/**
Expand Down