Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

  1. Authorizer
  2. Acl
  3. Operation
  4. PermissionType
  5. Resource
  6. ResourceType
  7. KafkaPrincipal
  8. 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.