Files
gerrit/gerrit-server
Edwin Kempin 6010998947 AccountManager#lookup: Don't use account index to resolve external ID
The lookup method is used during authentication if OAuth or OpenId is
used. Since the account index is not available on Gerrit slaves this
means authentication with OAuth and OpenId fails on Gerrit slaves.

To fix this lookup the external ID from the primary storage instead. The
same fix was already done for loading external IDs during other code
paths in AccountManager (see I2b2e7330aa).

Change-Id: I8d18c57fc5f20fcd8e21c46414e130fa052c16f1
Signed-off-by: Edwin Kempin <ekempin@google.com>
2017-11-06 11:08:18 +01:00
..