[
https://issues.apache.org/jira/browse/OAK-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jukka Zitting resolved OAK-1028.
--------------------------------
Resolution: Fixed
Fix Version/s: 0.10
Done in revision 1524828.
> Pass Subject directly to the permission validator
> -------------------------------------------------
>
> Key: OAK-1028
> URL: https://issues.apache.org/jira/browse/OAK-1028
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: core
> Reporter: Jukka Zitting
> Assignee: Jukka Zitting
> Priority: Minor
> Fix For: 0.10
>
>
> Currently we're using the JAAS AccessContext mechanism to pass the current
> Subject to the permission validator. That solution was used to avoid having
> to pass extra arguments along with the change set through the whole stack.
> Since then however we introduced the mechanism by which extra commit hooks
> can be associated with individual commits, and we already use that mechanism
> to pass the workspace name to the permission validator.
> We could use the same thing also for the Subject, and thus avoid the more
> complex ThreadLocal-based AccessContext setup.
--
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