Versions Compared

Key

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

...

Code Block
languagejava
firstline144
titleclients/src/main/java/org/apache/kafka/server/authorizer/Authorizer.java
linenumberstrue
    /**
     * 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);

...