You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Kevin Risden (Jira)" <ji...@apache.org> on 2020/03/11 18:50:00 UTC

[jira] [Updated] (SOLR-14321) SolrJ with Kerberos docs have removed HttpClientUtil.setConfigurer

     [ https://issues.apache.org/jira/browse/SOLR-14321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Risden updated SOLR-14321:
--------------------------------
    Component/s: documentation

> SolrJ with Kerberos docs have removed HttpClientUtil.setConfigurer 
> -------------------------------------------------------------------
>
>                 Key: SOLR-14321
>                 URL: https://issues.apache.org/jira/browse/SOLR-14321
>             Project: Solr
>          Issue Type: Task
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: documentation
>    Affects Versions: 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.6, 7.7, 8.0, 8.1, 8.2, 8.3, 8.4
>            Reporter: Kevin Risden
>            Assignee: Kevin Risden
>            Priority: Major
>
> https://lucene.apache.org/solr/guide/8_4/kerberos-authentication-plugin.html#using-solrj-with-a-kerberized-solr
> {code:java}
> HttpClientUtil.setConfigurer(new Krb5HttpClientConfigurer());
> {code}
> This was removed in Solr 7.0.0 with SOLR-4509 (https://github.com/apache/lucene-solr/commit/ce172acb8fec6c3bbb18837a4d640da6c5aad649#diff-ab69354d287d536ce35357f6023bafceL104).
> The replacement should be:
> {code:java}
> HttpClientUtil.setHttpClientBuilder(new Krb5HttpClientBuilder().getBuilder());
> {code}
> An example of this is: https://github.com/apache/ranger/blob/master/security-admin/src/main/java/org/apache/ranger/solr/SolrMgr.java#L114



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org