You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Lars Krapf (JIRA)" <ji...@apache.org> on 2013/07/16 11:02:48 UTC

[jira] [Created] (SLING-2966) Insufficient synchronization in SlingAuthenticator

Lars Krapf created SLING-2966:
---------------------------------

             Summary: Insufficient synchronization in SlingAuthenticator
                 Key: SLING-2966
                 URL: https://issues.apache.org/jira/browse/SLING-2966
             Project: Sling
          Issue Type: Bug
          Components: Authentication
    Affects Versions: Auth Core 1.1.2
            Reporter: Lars Krapf


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).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira