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 2017/07/21 09:00:02 UTC

[jira] [Resolved] (OAK-6470) Remove extra call to createGroupPrincipal in UserPrincipalProvider

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

Alex Deparvu resolved OAK-6470.
-------------------------------
       Resolution: Fixed
         Assignee: Alex Deparvu
    Fix Version/s: 1.7.5

http://svn.apache.org/viewvc?rev=1802554&view=rev

> Remove extra call to createGroupPrincipal in UserPrincipalProvider
> ------------------------------------------------------------------
>
>                 Key: OAK-6470
>                 URL: https://issues.apache.org/jira/browse/OAK-6470
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core, security
>            Reporter: Alex Deparvu
>            Assignee: Alex Deparvu
>            Priority: Trivial
>             Fix For: 1.7.5
>
>
> There's an extra call to {{createGroupPrincipal}} that could be removed [0], the group was already created.
> [0] https://github.com/apache/jackrabbit-oak/blob/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/user/UserPrincipalProvider.java#L255



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)