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

AbstractAccessControlManager: improve refresh strategy of PermissionProvider

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.36.0
    • Component/s: core, jcr, security
    • Labels:

      Description

      since AbstractAccessControlManager does not have access to the RefreshStrategy present in oak-jcr, it currently eagerly refresh the PermissionProvider used internally. Antonio Sanso reported that this may lead to performance issues, when item read operations are combined with frequent calls to AccessControlManager.hasPrivileges or AccessControlManager.getPrivileges.

        Attachments

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: