[
https://issues.apache.org/jira/browse/KAFKA-17316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claude Warren updated KAFKA-17316:
----------------------------------
Description:
Refactor of the Standard Authorizer, associated classes and tests to make it
easier to create new AuthorizerData implementations.
It is implemented in [pull request
16779|https://github.com/apache/kafka/pull/16779]
The goal of this change is to refactor the existing code so that new
Implementations of the StandardAuthorizer may be created by creating new
implementations of StandardAuthorizerData class.
Changes include
* creation of an AbstractAuthorizerData class for consistent logging
implementation.
* Moving MatchingRule interface and implementations from
StandardAuthorizerData.java to AuthorizerData.java
* Adding a authorizeByResourceType method to AuthorizerData.
* Implementing authorizeByResourceType in StandardAuthorizerData by
reimplementing the default Authorizer.authorizeByResourceType method.
This is a precursor to the Trie implementation described in KIP-1042.
was:
Refactor of the Standard Authorizer, associated classes and tests to make it
easier to create new AuthorizerData implementations.
The goal of this change is to refactor the existing code so that new
Implementations of the StandardAuthorizer may be created by creating new
implementations of StandardAuthorizerData class.
Changes include
* creation of an AbstractAuthorizerData class for consistent logging
implementation.
* Moving MatchingRule interface and implementations from
StandardAuthorizerData.java to AuthorizerData.java
* Adding a authorizeByResourceType method to AuthorizerData.
* Implementing authorizeByResourceType in StandardAuthorizerData by
reimplementing the default Authorizer.authorizeByResourceType method.
This is a precursor to the Trie implementation described in KIP-1042.
> Refactor StandardAuthorizer for easier extension
> ------------------------------------------------
>
> Key: KAFKA-17316
> URL: https://issues.apache.org/jira/browse/KAFKA-17316
> Project: Kafka
> Issue Type: Improvement
> Components: core
> Affects Versions: 3.8.0
> Reporter: Claude Warren
> Priority: Major
>
> Refactor of the Standard Authorizer, associated classes and tests to make it
> easier to create new AuthorizerData implementations.
> It is implemented in [pull request
> 16779|https://github.com/apache/kafka/pull/16779]
> The goal of this change is to refactor the existing code so that new
> Implementations of the StandardAuthorizer may be created by creating new
> implementations of StandardAuthorizerData class.
> Changes include
> * creation of an AbstractAuthorizerData class for consistent logging
> implementation.
> * Moving MatchingRule interface and implementations from
> StandardAuthorizerData.java to AuthorizerData.java
> * Adding a authorizeByResourceType method to AuthorizerData.
> * Implementing authorizeByResourceType in StandardAuthorizerData by
> reimplementing the default Authorizer.authorizeByResourceType method.
>
> This is a precursor to the Trie implementation described in KIP-1042.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)