You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/07/14 02:35:53 UTC

[GitHub] [pulsar] nodece commented on a diff in pull request #16568: [improve][client] Add original principal and authentication data support

nodece commented on code in PR #16568:
URL: https://github.com/apache/pulsar/pull/16568#discussion_r920698629


##########
pulsar-client-api/src/main/java/org/apache/pulsar/client/api/ClientBuilder.java:
##########
@@ -566,4 +566,20 @@ ClientBuilder authentication(String authPluginClassName, Map<String, String> aut
      * @return
      */
     ClientBuilder socks5ProxyPassword(String socks5ProxyPassword);
+
+    /**
+     * When using the client as a proxy service, client can support the original principal.
+     *
+     * @param originalPrincipal
+     * @return the client builder instance
+     */
+    ClientBuilder originalPrincipal(String originalPrincipal);

Review Comment:
   Websocket module requires this.



-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org