Class ClientAuthWrapper

java.lang.Object
org.apache.arrow.flight.auth.ClientAuthWrapper

public class ClientAuthWrapper extends Object
Utility class for performing authorization over using a GRPC stub.
  • 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.