jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angela (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (JCR-3394) Use multiple sessions to calculate permissions
Date Wed, 25 Jul 2012 13:28:35 GMT

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

angela updated JCR-3394:

    Attachment: JCR-3394_2.patch

improved patch including some more docu. note that with that new patch  the session-pool is
only created if the access control provider configuration is present and contains the "session-pool"
config option with value "true".

in order to enable the pool the workspace config (or the workspace template) needs to contain
the following entry:

<AccessControlProvider class="...">
      <param name="session-pool" value="true"/>

note: i didn't add a special handling for size "1" and decided to never use the session specified
to initialize the pool within the pool in order to be sure that the pool can really control
the session it holds (and properly release them upon disposal) without interfering with other

note2: the size is still retrieved from a system property. we have to remove that before we
include it into the trunk... just left it there for further testing.
> Use multiple sessions to calculate permissions
> ----------------------------------------------
>                 Key: JCR-3394
>                 URL: https://issues.apache.org/jira/browse/JCR-3394
>             Project: Jackrabbit Content Repository
>          Issue Type: Sub-task
>            Reporter: angela
>         Attachments: JCR-3394.patch, JCR-3394_2.patch, pool-1-10-100-nocache.csv, pool-1-10-100.csv,
pooled.csv, pooled.png
> see JCR-2950 for information. subtask to track changes related to that (potential) improvement

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message