commit | da668db0184d503e568ddc9025e270a0f2216ed4 | [log] [tgz] |
---|---|---|
author | Michael Ochmann <michael.ochmann@sap.com> | Thu Jan 28 15:38:14 2016 +0100 |
committer | Michael Ochmann <michael.ochmann@sap.com> | Fri Jan 29 14:12:32 2016 +0100 |
tree | 41dc493d0742d8d82bddec417413d3b1a0608682 | |
parent | d60261d09b22c5cbb02301cf56bf55a408e370f4 [diff] |
Respect auth.userNameToLowerCase The CloudFoundry UAA in general is preserving the case of user names, if attached to another user store, e.g. an LDAP system or database. Therefore, the plugin should respect the auth.userNameToLowerCase configuration parameter. If this parameter is set to true, the plugin will return the username and externalId parameters in OAuthUserInfo in lowercase, but it will not touch the access tokens since the latter have a signature. However, when comparing user names with the "user_name" or "sub" attributes of access tokens the correct case conversion will be applied. Change-Id: I9198809ab3d52d9a05ad96082cf2667981042bd9 Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>
With this plugin Gerrit can use OAuth2 protocol to authenticate users accessing Gerrit's Web UI with a CloudFoundry User Account and Authentication (UAA) server. The Sign In
link will redirect the user to the UAA login screen.
For Git-over-HTTP communication users still need to generate and use an HTTP password.
Apache License 2.0