THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
3. `org.apache.kafka.server.authorizer.Authorizer` will have a new interface for checking if the caller is allowed authorized to perform the the given ACL operation on at least one resource of the resource given type.
Code Block | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
boolean allowedOnAtLeastOneRecourse /** * Check if the caller is authorized to perform the given ACL operation on at least one * resource of the given type. * * @param requestContext Request context including request type, security protocol, and listener name * @param op The ACL Operation to check * @param resourceType The type of the resource to check * @return Return true if the caller is authorized to perform the given ACL operation * on at least one resource of the given type. Return false otherwise. */ boolean authorizedOnAtLeastOneRecourse(AuthorizableRequestContext requestContext, AclOperation op, ResourceType resourceType); |
...