You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ep...@apache.org on 2020/07/06 10:11:54 UTC

[lucene-solr] branch SOLR-14639-kerberos-client-doc-fix created (now 685896b)

This is an automated email from the ASF dual-hosted git repository.

epugh pushed a change to branch SOLR-14639-kerberos-client-doc-fix
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git.


      at 685896b  update the name of the deletegation method to be correct

This branch includes the following new commits:

     new 685896b  update the name of the deletegation method to be correct

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[lucene-solr] 01/01: update the name of the deletegation method to be correct

Posted by ep...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

epugh pushed a commit to branch SOLR-14639-kerberos-client-doc-fix
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git

commit 685896bbc306a8e92639bbd4fcff3aaec9847524
Author: epugh <ep...@opensourceconnections.com>
AuthorDate: Mon Jul 6 06:11:31 2020 -0400

    update the name of the deletegation method to be correct
---
 solr/solr-ref-guide/src/kerberos-authentication-plugin.adoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/solr/solr-ref-guide/src/kerberos-authentication-plugin.adoc b/solr/solr-ref-guide/src/kerberos-authentication-plugin.adoc
index 90682be..d3a7c67 100644
--- a/solr/solr-ref-guide/src/kerberos-authentication-plugin.adoc
+++ b/solr/solr-ref-guide/src/kerberos-authentication-plugin.adoc
@@ -342,7 +342,7 @@ SolrJClient {
 Delegation tokens are also supported with SolrJ, in the following ways:
 
 * `DelegationTokenRequest` and `DelegationTokenResponse` can be used to get, cancel, and renew delegation tokens.
-* `HttpSolrClient.Builder` includes a `withDelegationToken` function for creating an HttpSolrClient that uses a delegation token to authenticate.
+* `HttpSolrClient.Builder` includes a `withKerberosDelegationToken` function for creating an HttpSolrClient that uses a delegation token to authenticate.
 
 Sample code to get a delegation token:
 
@@ -366,7 +366,7 @@ To create a `HttpSolrClient` that uses delegation tokens:
 
 [source,java]
 ----
-HttpSolrClient client = new HttpSolrClient.Builder("http://localhost:8983/solr").withDelegationToken(token).build();
+HttpSolrClient client = new HttpSolrClient.Builder("http://localhost:8983/solr").withKerberosDelegationToken(token).build();
 ----
 
 To create a `CloudSolrClient` that uses delegation tokens: