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 "angela (JIRA)" <ji...@apache.org> on 2019/02/01 17:28:00 UTC

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

angela created OAK-8021:
---------------------------

             Summary: 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


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)