commit | d33894ec74be5adefa77de51d20497037498267c | [log] [tgz] |
---|---|---|
author | Michael Ochmann <michael.ochmann@sap.com> | Mon May 09 17:34:57 2016 +0200 |
committer | Michael Ochmann <michael.ochmann@sap.com> | Tue May 10 14:48:54 2016 +0200 |
tree | 85c2e850618c238975b3f665dc70d7a3b67bda6f | |
parent | 01b0efc98c1665594d43b37fdda1ee85117dac76 [diff] |
Deliver expiresAt and providerId for access token The REST API for OAuth access tokens requires tokens to have an expiration date and the identifier of the OAuth provider. This patch adds the missing attributes. A constant is introduced in OAuthModule to denote the export name of the provider. This constant is used to construct the providerId for the representation of access tokens in the REST API. Change-Id: I7334949ff18ede75f33eda55a7087655e7b88aa5 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