gerrit/gerrit-server
David Pursehouse f7a1c2a99a AuthConfig: Disallow invalid combination of auth.type and auth.gitBasicAuthPolicy
Add checks and throw an invalid state exception when an invalid
combination of auth.gitBasicAuthPolicy and auth.type is detected.

- When auth.gitBasicAuthPolicy is HTTP_LDAP, the auth.type should be
  either LDAP or LDAP_BIND.

- When auth.gitBasicAuthPolicy is OAUTH, auth.type should be OAUTH.

Also add missing reference to LDAP_BIND in the documentation.

Bug: Issue 7086
Change-Id: I4917a45a8ea21af7afa870900caa29224fd0606e
2017-08-28 15:41:43 +09:00
..
src AuthConfig: Disallow invalid combination of auth.type and auth.gitBasicAuthPolicy 2017-08-28 15:41:43 +09:00
BUILD Don't ship bouncycastle libraries in plugin API 2017-04-07 07:38:04 +02:00