commit | c690ad2c0a87d5bb7f726672c9014b8841981887 | [log] [tgz] |
---|---|---|
author | Michael Ochmann <michael.ochmann@sap.com> | Mon Oct 19 16:42:09 2015 +0200 |
committer | Michael Ochmann <michael.ochmann@sap.com> | Tue Oct 20 15:16:45 2015 +0200 |
tree | 8f62754ec9e48f230b9a976fd5525fdb6407e9c9 | |
parent | 24f35d022533a32dc114f7f3f1e2062b239d76f2 [diff] |
Introduce UserInfo helper class A new helper class UserInfo is introduced that collects information about a resource or token owner. The corresponding attributes have been extracted from the AccessToken class and moved to UserInfo. This patch also adds unit tests for both classes. Change-Id: Icedd68d68fb76f00749eee0d242584afb5cb1117 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