[
https://issues.apache.org/jira/browse/ARROW-10671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alessandro Molina updated ARROW-10671:
--------------------------------------
Fix Version/s: (was: 5.0.0)
6.0.0
> [FlightRPC] Bearer Token refresh design with retry mechanism
> ------------------------------------------------------------
>
> Key: ARROW-10671
> URL: https://issues.apache.org/jira/browse/ARROW-10671
> Project: Apache Arrow
> Issue Type: Improvement
> Components: FlightRPC, Java
> Reporter: Keerat Singh
> Priority: Major
> Labels: design, pull-request-available
> Fix For: 6.0.0
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> * The generated bearer token by implementations of CallHeaderAuthenticator
> such as BearerTokenAuthenticator are bound to expire.
> * The expired access token needs to be refreshed.
> * The FlightClient needs to retry the API call on encountering
> FlightStatusCode.TOKEN_EXPIRED and refresh the expired token.
> Refer to this [design
> document|https://docs.google.com/document/d/187DlGpIpOUPGhWvXVQEq0mXw_hdWjzzOuZp0p5qzBp0/edit?usp=sharing]
> for more details.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)