Package org.apache.arrow.flight.auth
Class ClientAuthWrapper
java.lang.Object
org.apache.arrow.flight.auth.ClientAuthWrapper
Utility class for performing authorization over using a GRPC stub.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
doClientAuth
(ClientAuthHandler authHandler, FlightServiceGrpc.FlightServiceStub stub) Do client auth for a client.
-
Constructor Details
-
ClientAuthWrapper
public ClientAuthWrapper()
-
-
Method Details
-
doClientAuth
public static void doClientAuth(ClientAuthHandler authHandler, FlightServiceGrpc.FlightServiceStub stub) Do client auth for a client. The stub will be authenticated after this method returns.- Parameters:
authHandler
- The handler to use.stub
- The service stub.
-