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 2021/10/04 08:54:17 UTC

[GitHub] [pulsar] EronWright opened a new issue #12272: Regression: PulsarAuthorizationProvider behavior

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

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



[GitHub] [pulsar] EronWright commented on issue #12272: Regression: PulsarAuthorizationProvider behavior

Posted by GitBox <gi...@apache.org>.
EronWright commented on issue #12272:
URL: https://github.com/apache/pulsar/issues/12272#issuecomment-933280614


   @merlimat please take a look.


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



[GitHub] [pulsar] merlimat closed issue #12272: Regression: PulsarAuthorizationProvider initialization

Posted by GitBox <gi...@apache.org>.
merlimat closed issue #12272:
URL: https://github.com/apache/pulsar/issues/12272


   


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