Keerat Singh created ARROW-10671:
------------------------------------

             Summary: [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
             Fix For: 3.0.0


* 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)

Reply via email to