Claude Warren created KAFKA-17316: ------------------------------------- Summary: 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
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. -- This message was sent by Atlassian Jira (v8.20.10#820010)