THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
We would add new methods getMatchingAcls(resource) and getMatchingAcls(principal) to the Authorizerinterface.
Code Block language javascala title Authorizer /** * Get set of all acls that match this resource. * @param resource regular or wildcard-suffixed resource name. * @return empty set if no acls are found, otherwise the acls for the matching resources. */ def getMatchingAcls(resource: Resource): Set[Acl] /** * Get set of all acls that match this principal. * @param principal regular or wild-suffixed principal name. * @return empty Map if no acls exist, otherwise a map of resource -> acls. */ def getMatchingAcls(principal: KafkaPrincipal): Map[Resource, Set[Acl]]
...