THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Move following interfaces/ classes to new package, org.apcheapache.kafka.common.authorizer
. The new package will be a separate module, so that third party implementations can add it as a dependency without having to depend on clients or coresecurity.auth
.
Authorizer
Acl
Operation
PermissionType
Resource
ResourceType
KafkaPrincipal
Session
...
- Add getSupportedPrincipalTypes in authorizer interface.
- Add validation at Authorizer level.
- An alternative of providing supported Principal types via interface is via a config option.
- Add description() method to Authorizer.
- Create a new module for authorizer, so that third party implementations will not have to depend on clients or core. However, to be consistent with current code org, this is rejected.