I was recently attempting to switch from a middleware approach for handling authentication to a Flight SQL server from the Flight SQL JDBC driver.
I have a method that works with middleware – but I wanted to simplify my approach. I attempted to use the build-in Auth handler here: https://github.com/apache/arrow/blob/1f42e6d594fab033938cb6ff65fbf521e2b92bc6/cpp/src/arrow/flight/server_auth.h#L54 But when I attempt a connection from a JDBC client – the “Authenticate” method’s “incoming” argument is empty for the handshake. Does the built-in Auth Handler for Flight not work with Flight SQL JDBC clients? Thanks!