EronWright opened a new issue #12272:
URL: https://github.com/apache/pulsar/issues/12272


   **Describe the bug**
   Existing implementations of `AuthorizationProvider` that extend 
`PulsarAuthorizationProvider` may regress following PR 
https://github.com/apache/pulsar/pull/12064.  The initialization method is not 
called.  The reason seems to be that 
`PulsarAuthorizationProvider::initialize(ServiceConfiguration, 
PulsarResources)` does not call 
`PulsarAuthorizationProvider::initialize(ServiceConfiguration, 
ConfigurationCacheService)`.   In other words, the 
`PulsarAuthorizationProvider` defeats the back-compat logic in 
`AuthorizationProvider`.
   
   **To Reproduce**
   Steps to reproduce the behavior: use `MultiRolesTokenAuthorizationProvider` 
or `AuthorizationProviderOAuth`.  Observe that the provider is not initialized. 
   
   **Expected behavior**
   Initialization of authorization provider.
   


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