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

Jukka Zitting updated JCR-2672:
-------------------------------

    Attachment: JCR-2672.patch

The attached patch implements the proposed change.

> Cache also failed principal lookups
> -----------------------------------
>
>                 Key: JCR-2672
>                 URL: https://issues.apache.org/jira/browse/JCR-2672
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core, security
>            Reporter: Jukka Zitting
>            Priority: Minor
>         Attachments: JCR-2672.patch
>
>
> The principal cache in Jackrabbit normally does a good job in ensuring good 
> performance in critical areas like ACL evaulation. However, the cache only 
> includes successful principal lookups, so an ACE that references a missing 
> (or mistyped) principal can cause notable performance issues as a new 
> principal lookup is needed whenever the node covered by such an ACL is 
> accessed.
> To solve that problem I propose that we extend the principal cache to also 
> cover negative principal lookups.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to