You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Keerat Singh (Jira)" <ji...@apache.org> on 2020/11/21 00:02:00 UTC

[jira] [Created] (ARROW-10671) [FlightRPC] Bearer Token refresh design with retry mechanism

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)