[
https://issues.apache.org/jira/browse/OAK-9415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Reschke moved JCR-4689 to OAK-9415:
------------------------------------------
Component/s: (was: jackrabbit-api)
jackrabbit-api
Key: OAK-9415 (was: JCR-4689)
Affects Version/s: (was: 2.21.6)
Workflow: no-reopen-closed (was: no-reopen-closed, patch-avail)
Project: Jackrabbit Oak (was: Jackrabbit Content Repository)
> Extend JackrabbitSession to allow access to all principals bound to the
> current session
> ---------------------------------------------------------------------------------------
>
> Key: OAK-9415
> URL: https://issues.apache.org/jira/browse/OAK-9415
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: jackrabbit-api
> Reporter: Konrad Windszus
> Priority: Major
>
> Currently there is no API to retrieve all principals bound to a specific
> session (see https://issues.apache.org/jira/browse/JCRVLT-515).
> {{Session.getUserId()}} may at most return the user backing the first
> principal and
> https://www.javadoc.io/doc/org.apache.jackrabbit/jackrabbit-api/latest/org/apache/jackrabbit/api/JackrabbitSession.html
> does not expose any other method which can be used for that.
> In Oak this can be simply implemented via
> {{ContentSession.getAuthInfo().getPrincipals()}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)