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/06/24 11:20:09 UTC

[GitHub] [pulsar] nodece commented on pull request #16201: [fix][broker] Fix passing incorrect authentication data

nodece commented on PR #16201:
URL: https://github.com/apache/pulsar/pull/16201#issuecomment-1165475705

   > The proxy tests still succeed without the modifications on `ServerCnx`
   
   You can try this step:
   
   1. Clone this PR
   2. Open `org.apache.pulsar.proxy.server.ProxyWithJwtAuthorizationTest`
   3. Comment out the `proxyConfig.setForwardAuthorizationCredentials(true);` and `conf.setAuthenticateOriginalAuthData(true);`
   4. Run `org.apache.pulsar.proxy.server.ProxyWithJwtAuthorizationTest`
   
   `org.apache.pulsar.proxy.server.ProxyWithJwtAuthorizationTest#testProxyAuthorization` and `org.apache.pulsar.proxy.server.ProxyWithJwtAuthorizationTest#testProxyAuthorizationWithPrefixSubscriptionAuthMode` will fail.
   
   


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