This is an automated email from the ASF dual-hosted git repository.
krisden pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/main by this push:
new a65f3bf SOLR-14321: SolrJ with Kerberos docs update invalid
HttpClientUtil.setConfigurer (#305)
a65f3bf is described below
commit a65f3bf831d38e7581fe88043459969bd2757d44
Author: Kevin Risden <[email protected]>
AuthorDate: Mon Sep 27 10:37:31 2021 -0400
SOLR-14321: SolrJ with Kerberos docs update invalid
HttpClientUtil.setConfigurer (#305)
Signed-off-by: Kevin Risden <[email protected]>
---
solr/solr-ref-guide/src/kerberos-authentication-plugin.adoc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/solr/solr-ref-guide/src/kerberos-authentication-plugin.adoc
b/solr/solr-ref-guide/src/kerberos-authentication-plugin.adoc
index a116419..0370de9 100644
--- a/solr/solr-ref-guide/src/kerberos-authentication-plugin.adoc
+++ b/solr/solr-ref-guide/src/kerberos-authentication-plugin.adoc
@@ -463,7 +463,7 @@ To use Kerberos authentication in a SolrJ application, you
need the following tw
[source,java]
----
System.setProperty("java.security.auth.login.config",
"/home/foo/jaas-client.conf");
-HttpClientUtil.setConfigurer(new Krb5HttpClientConfigurer());
+HttpClientUtil.setHttpClientBuilder(new Krb5HttpClientBuilder().getBuilder());
----
You need to specify a Kerberos service principal for the client and a
corresponding keytab in the JAAS client configuration file above.