Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-44927: [Java][Flight] Add middleware for auth2 bearer tokens #44928

Closed
wants to merge 1 commit into from

Conversation

devinrsmith
Copy link
Contributor

@devinrsmith devinrsmith commented Dec 3, 2024

Rationale for this change

This makes it easier to work with auth2 from the Java client without needing to resort to ClientCookieMiddleware (ie, don't need to force the server to support a non-standard auth scheme). I think it could be highly beneficial for ease-of-use when directly creating a FlightClient, and I would expect that the various FlightSqlClient drivers (ADBC, JDBC) could benefit from supporting it as a configuration option.

What changes are included in this PR?

A new FlightClientMiddleware had been added.

Are these changes tested?

These changes have been manually tested; if more testing is necessary, I'm hoping another contributor can provide it or guide me through a test plan.

@devinrsmith devinrsmith requested a review from lidavidm as a code owner December 3, 2024 22:31
Copy link

github-actions bot commented Dec 3, 2024

⚠️ GitHub issue apache/arrow-java#445 has been automatically assigned in GitHub to PR creator.

Copy link

github-actions bot commented Dec 4, 2024

⚠️ GitHub issue #44927 has no components, please add labels for components.

@kou
Copy link
Member

kou commented Dec 4, 2024

Could you open this in https://github.com/apache/arrow-java ?
We're moving java/ in apache/arrow to apache/arrow-java.

@kou kou closed this Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants