Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-2966

Insufficient synchronization in SlingAuthenticator

    XMLWordPrintableJSON

Details

    Description

      In the serviceChanged method of SlingAuthenticator a service is removed and subsequently re-added in case of a modification event. This can lead to synchronization problems (e.g. remove, remove, add, add) if two threads trigger this handler at the same time (e.g. duplication of CUG roots in the holder-cache of the CQ CUG handler after activation of a page with alias).

      Attachments

        1. sling_authenticator.patch
          2 kB
          Lars Krapf

        Issue Links

          Activity

            People

              cziegeler Carsten Ziegeler
              chaotic Lars Krapf
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: