Versions Compared

Key

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

...

  • We will add a new method getMatchingAcls(resource) to the Authorizer interface. 

    • It’s possible to make this change without introducing a new APIs API but new APIs are API is required for inspection.
    • For example: If I want to fetch all ACLs that match ’topicA*’, it’s not possible without introducing new APIs API AND maintaining backwards compatibility.

    Code Block
    languagescala
    titleAuthorizer
      /**
        * 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]
    

...