diff options
author | Sulabh Upadhyay <suupadhy@microsoft.com> | 2015-09-22 15:58:26 +0530 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-09-29 23:03:35 +0200 |
commit | 271e2cde317eeee0b5a07bc74394958dc4f8370d (patch) | |
tree | 0071680f88e73a51210c841c25da32deac448425 /sonar-db/src | |
parent | c769d5e095106fe0e922255d192c562ffef2f918 (diff) | |
download | sonarqube-271e2cde317eeee0b5a07bc74394958dc4f8370d.tar.gz sonarqube-271e2cde317eeee0b5a07bc74394958dc4f8370d.zip |
SONAR-6856 : Add a new API ExternalGroupsProvider.doGetGroups(Context context) to allow plugins to pass groups information to SonarQube
Addition of one more api in ExternalGroupsProvider which will pass Context as parameter .
doGetGroups(String username) is marked as deprecated
Default implementation is provided in both version of doGetGroups so that authentication plugin relying on previous version ( <5.2) and current version 5.2 do not face compact issue on the SonarQube server 5.2
Testing:
1. Unit test for ExternalGroupsProvider is added.
2. Testing of authentication plugin (e.g. LDAP) targeting SonarQube Plugin apis version < 5.2 working with SonarQube server 5.2
3. Testing of LDAP plugin with SSO changes which are tareting SonarQube plugin api version 5.2 working with SonarQube server 5.2
Diffstat (limited to 'sonar-db/src')
0 files changed, 0 insertions, 0 deletions