Skip to content

Commit

Permalink
Merge pull request #46 from srvrguy/sonar72fix
Browse files Browse the repository at this point in the history
Display AD Login Info Not Static String
  • Loading branch information
hkamel authored Jun 27, 2018
2 parents 8d97fc5 + 5e1f3c2 commit eedb377
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public void callback(CallbackContext context) {

UserInfo aadUser = result.getUserInfo();
UserIdentity.Builder userIdentityBuilder = UserIdentity.builder()
.setProviderLogin(getName())
.setProviderLogin(aadUser.getDisplayableId())
.setLogin(getLogin(aadUser))
.setName(aadUser.getGivenName() + " " + aadUser.getFamilyName())
.setEmail(aadUser.getDisplayableId());
Expand Down

0 comments on commit eedb377

Please sign in to comment.