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:13 UTC

[jira] [Closed] (OAK-8062) PrincipalProvider: optional lookup of ItemBasedPrincipal by path

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

Davide Giannella closed OAK-8062.
---------------------------------

bulk close 1.12.0

> PrincipalProvider: optional lookup of ItemBasedPrincipal by path
> ----------------------------------------------------------------
>
>                 Key: OAK-8062
>                 URL: https://issues.apache.org/jira/browse/OAK-8062
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>          Components: core, security, security-spi
>            Reporter: angela
>            Assignee: angela
>            Priority: Major
>             Fix For: 1.12.0
>
>         Attachments: OAK-8062.patch
>
>
> while there exists API to check if a given {{Principal}} is backed by an {{Item}} in the repository (see {{ItemBasedPrincipal.getPath}}, we currently lack the ability to retrieve these principals by path. In other words the round trip is incomplete and forces consumers the workaround by involving user management API, which may or may not work depending on the implementation details of the underlying {{PrincipalProvider}}. 
> the suggested extension would (in correspondence to the recent search extensions) be made optional by adding a default implementation to the {{PrincipalProvider}} interface.
> [~stillalex], will attach an initial patch. feedback both on the proposal and on the patch welcome as always.



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