Hi All,
         Wish you all a very happy new year.

I am trying to upgrade my SolrJ client from 8.11 to 9.1 .
My usecase is to connect to a Kerberos authenticated SolR cluster.
I see that the current Krb5HttpClientBuilder class has been deprecated in
Solr 9.1

I am unable to find an updated 9.1 example code for this scenario.

SolrJ 8.11.x code

System.setProperty("java.security.krb5.conf", <path_to_krb5_conf>);
System.setProperty("java.security.auth.login.config",
<path_to_jaas-client_conf>);

HttpClientUtil.setHttpClientBuilder(new
Krb5HttpClientBuilder().getBuilder());

secureSolrClient = new LBHttpSolrClient.Builder()
.withBaseSolrUrls(solr_urls_list)
.build();

Thank you

Rajiv Bandi

Reply via email to