[ 
https://issues.apache.org/jira/browse/SLING-2966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler resolved SLING-2966.
-------------------------------------

    Resolution: Fixed

Thanks for your patch Lars - I've applied a slightly modified version which 
removes the additional (unneeded) syncing in revision 1503632
                
> 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
>            Assignee: Carsten Ziegeler
>              Labels: authentication, sling
>             Fix For: Auth Core 1.1.4
>
>         Attachments: sling_authenticator.patch
>
>
> 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

Reply via email to