diff options
author | Sulabh Upadhyay <suupadhy@microsoft.com> | 2015-09-24 17:53:26 +0530 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-10-05 21:50:37 +0200 |
commit | dc5cb124d46e90c3823f47573ca25c808507d14c (patch) | |
tree | 1cd13f49e3692ed264d63c20e459fb8993bdadef /compile_protobuf.sh | |
parent | 0ce77c4e398676668288ad4e065a1ff7a1e24cf1 (diff) | |
download | sonarqube-dc5cb124d46e90c3823f47573ca25c808507d14c.tar.gz sonarqube-dc5cb124d46e90c3823f47573ca25c808507d14c.zip |
SONAR-6867: Add a new APIs UserDetails.getUserId()/setUserId(String userId)
to allow plugins to pass userId information to SonarQube
setUserId(String userId) and getUserId () are added to UserDetails.
Testing
1. Unit test for UserDetails
2. Verification of following scenarios :
a. Plugin (e.g. LDAP) is dependent on older sonarqube plugins apis
( < 5.2) and the plugin is being used in SonarQube 5.2 server
b. Plugin is dependent on SonarQube 5.2 plugin apis and userId is not
being populated in UserDetails along with userName and Email .
c. Plugin is dependent on SonarQube 5.2 plugin apis and userId is
also being populated by the plugin in UserDetails along with
userName and Email.
Diffstat (limited to 'compile_protobuf.sh')
0 files changed, 0 insertions, 0 deletions