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

PrincipalProvider: optional lookup of ItemBasedPrincipal by path

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.12.0
    • Component/s: core, security, security-spi
    • Labels:
      None

      Description

      while there exists API to check if a given Principal is backed by an Item in the repository (see ItemBasedPrincipal.getPath, we currently lack the ability to retrieve these principals by path. In other words the round trip is incomplete and forces consumers the workaround by involving user management API, which may or may not work depending on the implementation details of the underlying PrincipalProvider.

      the suggested extension would (in correspondence to the recent search extensions) be made optional by adding a default implementation to the PrincipalProvider interface.

      Alex Deparvu, will attach an initial patch. feedback both on the proposal and on the patch welcome as always.

        Attachments

        1. OAK-8062.patch
          10 kB
          Angela Schreiber

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: