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

External Principal Management: DynamicSyncContext makes redundant calls to IdentityProvider.getIdentity()

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.20, 1.4.8, 1.5.12
    • Fix Version/s: 1.4.9, 1.5.13, 1.6.0
    • Component/s: auth-external
    • Labels:
      None

      Description

      When recursively collecting principal names associated with the declared group memberships of a given principal, the method DynamicSyncContext.collectPrincipalNames() unnecessarily calls IdentityProvider.getIdentity() for every declared group reference, though it is only necessary when the actual depth of the remaining recursion is >1.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                baedke Manfred Baedke
                Reporter:
                baedke Manfred Baedke
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: