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 "Alex Deparvu (JIRA)" <ji...@apache.org> on 2018/10/09 08:55:00 UTC
[jira] [Updated] (OAK-7813) PrivilegeBits shoulmd also cache
default privilege as long values
[ https://issues.apache.org/jira/browse/OAK-7813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Deparvu updated OAK-7813:
------------------------------
Summary: PrivilegeBits shoulmd also cache default privilege as long values (was: PrivilegeBits also cache default privilege as long values)
> PrivilegeBits shoulmd also cache default privilege as long values
> -----------------------------------------------------------------
>
> Key: OAK-7813
> URL: https://issues.apache.org/jira/browse/OAK-7813
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: security-spi
> Reporter: Alex Deparvu
> Assignee: Alex Deparvu
> Priority: Trivial
> Fix For: 1.10
>
>
> I would like to add a cache to PrivilegeBits for the 'long' representation of the privileges. The current one is [String -> PrivilegeBits], but the apis allow for creating PrivilegeBits out of long values (depending on the bits operation).
> Also, the existing cache is currently exposed as a public map, this needs to be turned into an immutable version to prevent changes.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)