lhotari commented on issue #24403: URL: https://github.com/apache/pulsar/issues/24403#issuecomment-3317343288
> I have done the test with one role in the client token, so I expect the same behavior with the 2 authorization providers `org.apache.pulsar.broker.authorization.PulsarAuthorizationProvider` and `org.apache.pulsar.broker.authorization.MultiRolesTokenAuthorizationProvider` this seems to be a reasonable expectation. > I don't know how to test it in `MultiRolesTokenAuthorizationProviderTest` ? Since in this case, it's a results of multiple components, I think reproducing the case with a Pulsar test (which are mostly integration tests) would be the way to observe details. These test classes would provide useful details in how to test this. Creating a new test class in `pulsar-proxy/src/test/java` would be recommended. https://github.com/apache/pulsar/blob/master/pulsar-proxy/src/test/java/org/apache/pulsar/proxy/server/ProxyTlsWithAuthTest.java https://github.com/apache/pulsar/blob/master/pulsar-broker/src/test/java/org/apache/pulsar/client/api/TokenOauth2AuthenticatedProducerConsumerTest.java -- 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-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org