xborder opened a new pull request, #953:
URL: https://github.com/apache/arrow-java/pull/953
## What's Changed
- Add OAuth 2.0 support to the Flight SQL JDBC driver, including client
credentials and token exchange flows
- Integrate OAuth token acquisition into connection setup, wiring tokens
through OAuthCredentialWriter and updating gRPC credential handling to fail
fast on writer errors.
- Document new OAuth connection properties and add example clients for both
OAuth flows.
- Connection Properties Added
- oauth.flow
- oauth.tokenUri
- oauth.clientId
- oauth.clientSecret
- oauth.scope
- oauth.resource
- oauth.exchange.subjectToken
- oauth.exchange.subjectTokenType
- oauth.exchange.actorToken
- oauth.exchange.actorTokenType
- oauth.exchange.aud
- oauth.exchange.requestedTokenType
- Connection config now recognizes oauth.* and oauth.exchange.* properties
and builds OAuth providers when oauth.flow is specified.
- Adds com.nimbusds:oauth2-oidc-sdk dependency and mockwebserver for tests.
Closes #952.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]