gerrit/Documentation
Hector Oswaldo Caballero d0bf015308 Allow HTTP password when using LDAP and basic authentication
So far, it was not possible to use HTTP password to validate git over
HTTP and REST API requests if LDAP was used along with HTTP basic
authentication. There is a use case, though, where users do not want to
use their LDAP password for the aforementioned requests as in, for
example, automation scripts.

Introduce a new configuration parameter, `gitBasicAuthPolicy`, to allow
LDAP users to authenticate using either the HTTP or the LDAP passwords
when doing git over HTTP and REST API requests. When this new parameter
is set to LDAP, the password in the request is checked against the LDAP
password only. When set to HTTP, the password is validated against the
randomly generated HTTP password. Finally, when set to HTTP_LDAP, the
password in the request is checked first against the HTTP password and,
if it does not match, it is checked against the LDAP password.

If the new parameter is not specified or if is set to LDAP, the current
behavior is preserved, i.e., only LDAP password is allowed when using
basic authentication.

Change-Id: I8846cd89dfdb98ab2fc36ba754d8302cf40527e9
2017-01-12 11:45:30 +00:00
..
images Use buck rule for ReleaseNotes instead of Makefile 2016-05-17 23:23:31 +00:00
.gitignore Ignore /Documentation/*.html 2015-05-06 11:25:51 -07:00
access-control.txt Improve 'Add Patch Set' ACL documentation. 2016-09-21 05:41:09 +00:00
asciidoc.defs Use buck rule for ReleaseNotes instead of Makefile 2016-05-17 23:23:31 +00:00
BUCK Use buck rule for ReleaseNotes instead of Makefile 2016-05-17 23:23:31 +00:00
cmd-apropos.txt Harmonize notation of admonition blocks in documentation 2016-07-08 15:42:31 +02:00
cmd-ban-commit.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
cmd-cherry-pick.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
cmd-close-connection.txt Fix broken synopsis formatting in documentation 2016-07-06 10:54:42 +02:00
cmd-create-account.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
cmd-create-branch.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
cmd-create-group.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
cmd-create-project.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
cmd-flush-caches.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
cmd-gc.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
cmd-gsql.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
cmd-hook-commit-msg.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
cmd-index-activate.txt doc: add option and example section to ssh index command 2016-07-20 09:50:05 -07:00
cmd-index-changes.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
cmd-index-start.txt Add an optional flag to force an online reindex 2016-08-02 14:09:12 -07:00
cmd-index.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
cmd-kill.txt Fix broken synopsis formatting in documentation 2016-07-06 10:54:42 +02:00
cmd-logging-ls-level.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
cmd-logging-set-level.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
cmd-ls-groups.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
cmd-ls-members.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
cmd-ls-projects.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
cmd-ls-user-refs.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
cmd-plugin-enable.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
cmd-plugin-install.txt Fix various typos, spelling mistakes, and inconsistencies 2016-09-06 16:27:49 +09:00
cmd-plugin-ls.txt Fix broken synopsis formatting in documentation 2016-07-06 10:54:42 +02:00
cmd-plugin-reload.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
cmd-plugin-remove.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
cmd-query.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
cmd-receive-pack.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
cmd-rename-group.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
cmd-review.txt Support move change via SSH 2016-11-23 12:50:27 +02:00
cmd-set-account.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
cmd-set-head.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
cmd-set-members.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
cmd-set-project-parent.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
cmd-set-project.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
cmd-set-reviewers.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
cmd-show-caches.txt Fix some legacy-style titles in documentation 2016-07-08 13:45:28 +02:00
cmd-show-connections.txt ShowConnections: Only show start and idle columns for mina backend 2016-08-04 05:55:37 +00:00
cmd-show-queue.txt SSH show-queue: option to group output by queue and print queue info 2016-07-13 18:24:55 +02:00
cmd-stream-events.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
cmd-suexec.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
cmd-test-submit-rule.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
cmd-test-submit-type.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
cmd-version.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
config-auto-site-initialization.txt Control which plugins will be auto installed on auto init 2014-02-24 11:11:04 +01:00
config-cla.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
config-gerrit.txt Allow HTTP password when using LDAP and basic authentication 2017-01-12 11:45:30 +00:00
config-gitweb.txt Harmonize notation of admonition blocks in documentation 2016-07-08 15:42:31 +02:00
config-hooks.txt Move hooks from core Gerrit to 'hooks' plugin 2016-07-04 11:06:18 +09:00
config-labels.txt Harmonize notation of admonition blocks in documentation 2016-07-08 15:42:31 +02:00
config-login-register.txt Merge branch 'stable-2.12' 2016-08-18 09:09:43 -04:00
config-mail.txt Fix various typos, spelling mistakes, and inconsistencies 2016-09-06 16:27:49 +09:00
config-plugins.txt Doc: Update avatar plugin links 2016-11-20 10:30:23 +02:00
config-project-config.txt Option to reject implicit merges when pushing changes for review 2016-09-01 13:21:11 +02:00
config-reverseproxy.txt Update reverse proxy configuration example for nginx 2015-07-06 01:50:38 +00:00
config-sso.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
config-themes.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
config-validation.txt Enable plugin-based validation of user's ref related operations 2016-08-18 17:54:48 +02:00
config.defs Use default asciidoctor CSS style instead of doc.css 2016-04-07 08:39:02 +00:00
database-setup.txt Merge branch 'stable-2.12' into stable-2.13 2016-11-08 19:02:31 +09:00
dev-buck.txt Fix various typos, spelling mistakes, and inconsistencies 2016-09-06 16:27:49 +09:00
dev-build-plugins.txt Update build/release documentation with new API/WAR commands 2016-09-01 19:46:35 +09:00
dev-contributing.txt Fix various typos, spelling mistakes, and inconsistencies 2016-09-06 16:27:49 +09:00
dev-design.txt Update issue tracker URL in documentation 2016-06-23 06:48:12 +00:00
dev-eclipse.txt dev-eclipse: Add another build error example related to auto-annotation 2016-08-19 16:26:43 +09:00
dev-inspector.txt Merge "Some more broken synopsis formattings in documentation" 2016-07-08 14:07:44 +00:00
dev-plugins.txt Set version to 2.13.5 2017-01-06 09:47:10 +09:00
dev-readme.txt Update buck to the latest version 2015-10-09 08:51:35 +02:00
dev-release-deploy-config.txt dev-release-deploy-config: Fix plugin repository in pom.xml snippet 2016-07-29 09:43:08 +09:00
dev-release-jgit.txt Document how to deploy a JGit release to Google Cloud Storage 2016-02-18 15:47:12 +01:00
dev-release-subproject.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
dev-release.txt Update build/release documentation with new API/WAR commands 2016-09-01 19:46:35 +09:00
dev-rest-api.txt Make Content-Type examples consistent with actual server output 2015-01-06 06:54:12 +00:00
dev-stars.txt Fix various typos, spelling mistakes, and inconsistencies 2016-09-06 16:27:49 +09:00
error-branch-not-found.txt Doc: Consistently refer to "Web UI" rather than "WebUI" 2014-05-02 17:21:22 +09:00
error-change-closed.txt Doc: Consistently refer to "Web UI" rather than "WebUI" 2014-05-02 17:21:22 +09:00
error-change-does-not-belong-to-project.txt Consistently refer to Change-Id in documentation 2014-09-04 13:12:24 +09:00
error-change-not-found.txt Consistently refer to Change-Id in documentation 2014-09-04 13:12:24 +09:00
error-change-upload-blocked.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-commit-already-exists.txt Merge branch 'stable-2.8' 2014-03-11 18:24:13 +09:00
error-contains-banned-commit.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-has-duplicates.txt Fix some legacy-style titles in documentation 2016-07-08 13:45:28 +02:00
error-invalid-author.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-invalid-changeid-line.txt Doc: Consistently refer to "Web UI" rather than "WebUI" 2014-05-02 17:21:22 +09:00
error-invalid-committer.txt Fix reference to Forge Committer access right in documentation 2014-07-08 07:24:01 +00:00
error-messages.txt Provide more informative error message for Change-Id conflicts 2016-04-12 14:18:12 +00:00
error-missing-changeid.txt Consistently refer to Change-Id in documentation 2014-09-04 13:12:24 +09:00
error-missing-subject.txt Improve reject message if Change-Id is in subject 2014-02-21 09:25:33 +01:00
error-multiple-changeid-lines.txt Doc: Consistently refer to "Web UI" rather than "WebUI" 2014-05-02 17:21:22 +09:00
error-no-common-ancestry.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-no-new-changes.txt Update no-new-change error message documentation 2015-10-09 14:58:49 +00:00
error-non-fast-forward.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-not-a-gerrit-administrator.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-not-allowed-to-upload-merges.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-not-permitted-to-create.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-not-signed-off-by.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-not-valid-ref.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-permission-denied.txt Revert "Add '-T' switch to the SSH connectivity check examples" 2016-04-05 18:22:09 +00:00
error-prohibited-by-gerrit.txt Work around asciidoctor handling of nested ` and * 2015-04-06 17:22:37 +09:00
error-project-not-found.txt Doc: Consistently refer to "Web UI" rather than "WebUI" 2014-05-02 17:21:22 +09:00
error-push-fails-due-to-commit-message.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-same-change-id-in-multiple-changes.txt Provide more informative error message for Change-Id conflicts 2016-04-12 14:18:12 +00:00
error-upload-denied.txt Fix some legacy-style titles in documentation 2016-07-08 13:45:28 +02:00
gen_licenses.py Cleanups in gen_licenses.py 2016-09-16 09:47:08 +02:00
i18n-readme.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
index.txt Add documentation for the metrics feature 2016-08-31 01:28:43 +00:00
install-j2ee.txt Fix broken formatting in Tomcat reverse proxy config documentation 2014-10-21 11:04:42 +09:00
install-quick.txt Correct docs since --name is not a valid option for create-project 2015-11-25 00:27:32 +00:00
install.txt Harmonize notation of admonition blocks in documentation 2016-07-08 15:42:31 +02:00
intro-project-owner.txt Fix various typos, spelling mistakes, and inconsistencies 2016-09-06 16:27:49 +09:00
intro-quick.txt Consistently refer to Change-Id in documentation 2014-09-04 13:12:24 +09:00
intro-user.txt Fix various typos, spelling mistakes, and inconsistencies 2016-09-06 16:27:49 +09:00
js-api.txt Document panel method of the JavaScript API 2016-06-03 13:27:50 +02:00
json.txt Add missing documentation of ChangeKind.MERGE_FIRST_PARENT_UPDATE 2016-07-04 02:04:02 +00:00
license.defs gen_licenses.py: Use buck query for license generation 2015-11-12 18:40:30 -05:00
metrics.txt Add documentation for the metrics feature 2016-08-31 01:28:43 +00:00
pgm-daemon.txt Some more broken synopsis formattings in documentation 2016-07-08 13:47:29 +02:00
pgm-gsql.txt Some more broken synopsis formattings in documentation 2016-07-08 13:47:29 +02:00
pgm-index.txt Gerrit command line utility to set/update secure.config 2017-01-12 00:25:25 +00:00
pgm-init.txt init: Add a flag to force-delete the cache 2016-10-06 17:20:01 +02:00
pgm-LocalUsernamesToLowerCase.txt Some more broken synopsis formattings in documentation 2016-07-08 13:47:29 +02:00
pgm-passwd.txt Gerrit command line utility to set/update secure.config 2017-01-12 00:25:25 +00:00
pgm-prolog-shell.txt Some more broken synopsis formattings in documentation 2016-07-08 13:47:29 +02:00
pgm-reindex.txt Remove --dry-run option from reindex command documentation 2016-07-08 15:26:42 +02:00
pgm-rulec.txt Some more broken synopsis formattings in documentation 2016-07-08 13:47:29 +02:00
pgm-SwitchSecureStore.txt Some more broken synopsis formattings in documentation 2016-07-08 13:47:29 +02:00
project-configuration.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
prolog-change-facts.txt Harmonize notation of admonition blocks in documentation 2016-07-08 15:42:31 +02:00
prolog-cookbook.txt Prolog cookbook typo; line should end with period, not comma 2016-10-17 08:24:13 +09:00
replace_macros.py Set file encoding on replace_macros.py 2016-05-19 16:24:11 -04:00
rest-api-access.txt Fix minor typo in projects REST API documentation 2016-10-02 23:53:16 +00:00
rest-api-accounts.txt Add REST endpoint to reindex a single account 2016-12-09 11:26:41 +01:00
rest-api-changes.txt Fix /download request example in changes REST documentation 2016-10-18 05:41:35 +00:00
rest-api-config.txt Allow HTTP password when using LDAP and basic authentication 2017-01-12 11:45:30 +00:00
rest-api-documentation.txt Don't limit tables to 50% width in REST API documentation 2014-11-25 18:35:53 +09:00
rest-api-groups.txt CreateGroup: add members to GroupInput 2016-08-15 14:00:40 -07:00
rest-api-plugins.txt Make Content-Type examples consistent with actual server output 2015-01-06 06:54:12 +00:00
rest-api-projects.txt Option to reject implicit merges when pushing changes for review 2016-09-01 13:21:11 +02:00
rest-api.txt rest-api.txt: Document that error responses are human-readable 2016-07-28 10:04:04 -04:00
user-change-cleanup.txt Add background job to abandon inactive changes automatically 2015-06-25 07:26:25 +02:00
user-changeid.txt Work around asciidoctor handling of nested ` and * 2015-04-06 17:22:37 +09:00
user-dashboards.txt Add user guide 2015-04-30 14:37:09 +00:00
user-inline-edit.txt Fix various typos, spelling mistakes, and inconsistencies 2016-09-06 16:27:49 +09:00
user-named-destinations.txt Add named destinations support 2015-09-03 10:50:07 -06:00
user-named-queries.txt Move 'User Refs' docs to the intro-user doc. 2015-09-04 14:55:15 +00:00
user-notify.txt Fix formatting of example blocks 2016-07-07 14:06:31 +02:00
user-review-ui.txt Merge branch 'stable-2.12' into stable-2.13 2016-09-13 23:49:56 +02:00
user-search-accounts.txt Support arbitrary account queries via REST 2016-07-01 09:54:10 +02:00
user-search.txt Support star labels 2016-05-06 17:04:47 +02:00
user-signedoffby.txt Revert "== GERRIT" in documentation. 2014-03-25 19:44:49 +00:00
user-submodules.txt Add more clarification of submodule subscription limitation 2016-09-02 09:58:13 +09:00
user-upload.txt Allow HTTP password when using LDAP and basic authentication 2017-01-12 11:45:30 +00:00