[ https://issues.apache.org/jira/browse/OAK-5903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
angela updated OAK-5903: ------------------------ Issue Type: New Feature (was: Improvement) > Authentication: add extension to retrieve user principal > -------------------------------------------------------- > > Key: OAK-5903 > URL: https://issues.apache.org/jira/browse/OAK-5903 > Project: Jackrabbit Oak > Issue Type: New Feature > Components: core > Reporter: angela > Assignee: angela > Labels: performance > > In the current default setup the implementations of the {{Authentication}} > interface resolve a user for the given login credentials but don't provide > means to retrieve the associated principal. Consequently upon > {{LoginModule.commit}} the user needs to resolved a second time to compute > the set of all principals. This could be simplified by using > {{PrincipalProvider.getGroupMembership(Principal)}} if the users principals > was available upon successful call to {{Authentication.authenticate}}. -- This message was sent by Atlassian JIRA (v6.3.15#6346)