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 "Davide Giannella (JIRA)" <ji...@apache.org> on 2019/04/15 09:20:12 UTC

[jira] [Closed] (OAK-8021) PrivilegeBitsProvider.getBits(Privilege[],NameMapper) should use getOakNameOrNull

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

Davide Giannella closed OAK-8021.
---------------------------------

bulk close 1.12.0

> PrivilegeBitsProvider.getBits(Privilege[],NameMapper) should use getOakNameOrNull 
> ----------------------------------------------------------------------------------
>
>                 Key: OAK-8021
>                 URL: https://issues.apache.org/jira/browse/OAK-8021
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: security-spi
>            Reporter: angela
>            Assignee: angela
>            Priority: Minor
>             Fix For: 1.12.0
>
>
> just noticed that the implementation of {{PrivilegeBitsProvider.getBits(Privilege[], NameMapper)}} could call {{NameMapper.getOakNameOrNull}} instead of {{getOakName}}, which throws a {{RepositoryException}} in case of an invalid name.
> [~stillalex], fyi



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)