Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-9868

Introduce interface to extract tree from users

    XMLWordPrintableJSON

Details

    Description

      while working on OAK-9803 it struck me that there are several places in the oak security code base where a tree object needs to be retrieved from a given user/group, which according to the API contract only has a getPath() method returning a JCR path.

      Since the default implementation is backed by a tree object, it would in certain cases (same content session being used to retrieve the User and the Root) be possible (and likely better from a performance point of view) if there was an option to access the tree instead of traversing the hierarchy again to build it from the path.

      cc: joerghoh, fyi

      Attachments

        Issue Links

          Activity

            People

              angela Angela Schreiber
              angela Angela Schreiber
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: