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 2017/03/07 15:05:38 UTC
[jira] [Created] (OAK-5903) Authentication: add extension to
retrieve user principal
angela created OAK-5903:
---------------------------
Summary: Authentication: add extension to retrieve user principal
Key: OAK-5903
URL: https://issues.apache.org/jira/browse/OAK-5903
Project: Jackrabbit Oak
Issue Type: Improvement
Components: core
Reporter: angela
Assignee: angela
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)