Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-5903

Authentication: add extension to retrieve user principal

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0, 1.8.0
    • core

    Description

      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.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            angela Angela Schreiber
            angela Angela Schreiber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment