jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angela (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-5903) Authentication: add extension to retrieve user principal
Date Tue, 07 Mar 2017 15:05:38 GMT
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)

Mime
View raw message