From 285b743a8bff96e3f436f40bcc86f3529a0d8951 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20H=C3=B8ydahl?= Date: Thu, 6 Sep 2018 10:31:18 +0200 Subject: [PATCH] SOLR-12745: Wrong header levels on BasicAuth refGuide page --- solr/solr-ref-guide/src/basic-authentication-plugin.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/solr/solr-ref-guide/src/basic-authentication-plugin.adoc b/solr/solr-ref-guide/src/basic-authentication-plugin.adoc index 4a5ff82a52e..88e8a0c8d24 100644 --- a/solr/solr-ref-guide/src/basic-authentication-plugin.adoc +++ b/solr/solr-ref-guide/src/basic-authentication-plugin.adoc @@ -164,7 +164,7 @@ curl --user solr:SolrRocks http://localhost:8983/api/cluster/security/authentica ==== -- -=== Using Basic Auth with SolrJ +== Using Basic Auth with SolrJ In SolrJ, the basic authentication credentials need to be set for each request as in this example: @@ -184,7 +184,7 @@ req.setBasicAuthCredentials(userName, password); QueryResponse rsp = req.process(solrClient); ---- -=== Using the Solr Control Script with Basic Auth +== Using the Solr Control Script with Basic Auth Add the following line to the `solr.in.sh` or `solr.in.cmd` file. This example tells the `bin/solr` command line to to use "basic" as the type of authentication, and to pass credentials with the user-name "solr" and password "SolrRocks":