Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.8.0
-
None
-
None
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
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.
Attachments
Issue Links
- links to