You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Alejandro Moratinos (Jira)" <ji...@apache.org> on 2025/01/20 11:34:00 UTC

[jira] [Created] (OAK-11409) Membership cache fails to update changes on cached properties

Alejandro Moratinos created OAK-11409:
-----------------------------------------

             Summary: Membership cache fails to update changes on cached properties
                 Key: OAK-11409
                 URL: https://issues.apache.org/jira/browse/OAK-11409
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: auth-external, security
    Affects Versions: 1.72.0
            Reporter: Alejandro Moratinos


Multiple instances of the membership providers using the PrincipalMembershipCacheReader class could lead to do not reflect membership changes properly in the cached properties. 

Cached properties are managed by PrincipalMembershipCacheReader that keeps track of the expiration date based on the UserConfiguration values. This expiration time is updated every time a property is updated but further updates are not allowed until the cache is expired.

When the membership cache is shared among different membership providers could happens that the updates of a provider prevents the changes in membership from a different provider are not updated, depending which provider was the first one to write into the cache. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)