roryqi commented on code in PR #10730:
URL: https://github.com/apache/gravitino/pull/10730#discussion_r3056905789


##########
clients/client-java/src/main/java/org/apache/gravitino/client/GravitinoClientBase.java:
##########
@@ -208,6 +212,8 @@ public abstract static class Builder<T> {
     protected String uri;
     /** The authentication provider. */
     protected AuthDataProvider authDataProvider;
+    /** The provider of per-request extra headers (e.g. forwarded user 
identity). */
+    protected ExtraHeadersProvider extraHeadersProvider;

Review Comment:
   We shouldn't this way to pass the session user identity.
   For simple mode, Trino connector can use the session user directly.
   For OAuth mode, Trino connector would better use a token exchange interface 
to exchange the session user token.



-- 
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]

Reply via email to