Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-6867

Add a new APIs UserDetails.getUserId()/setUserId(String userId) to allow plugins to pass userId information to SonarQube

    Details

      Description

      Currently, the API ExternalUsersProvider.doGetUserDetails(Context context) returns UserDetails, which allows the plugin to pass User Name and Email information to SonarQube.

      This issue is to track the addition of new APIs getUserId() and setUserId(String userId ) in UserDetails which plugin can use to pass user-id information to SonarQube server and the corresponding changes in server code to use these information for authentication.

      This will allow plugins to return the UserId to SonarQube server which can be different from what user provided in the username field in the login page. We will use this feature in LDAP plugin (windows auth) and SSO.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mathew.aniyan Mathew Aniyan
                Reporter:
                suupadhy Sulabh
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: