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/05/02 12:35:00 UTC

[jira] [Resolved] (OAK-8293) PrincipalProviderImpl.findPrincipals my return null values in result iterator

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

angela resolved OAK-8293.
-------------------------
       Resolution: Fixed
    Fix Version/s: 1.14.0

Committed revision 1858534.


> PrincipalProviderImpl.findPrincipals my return null values in result iterator
> -----------------------------------------------------------------------------
>
>                 Key: OAK-8293
>                 URL: https://issues.apache.org/jira/browse/OAK-8293
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, security
>            Reporter: angela
>            Assignee: angela
>            Priority: Major
>             Fix For: 1.14.0
>
>
> [~stillalex], i noticed that the {{PrincipalProviderImpl.findPrincipals}} may return null values in the resulting iterator if the resolution of the principal from a given authorizable fails. IMHO the filtering for not-null values should be performed on the transformed iterator and not on the authorizable-iterator. will fix it accordingly and also provide tests.



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