I want to set authentication for my SolrCloud. I use SolrJ6.5.0 in java. My CloudSolrClient is defined by directly using Zookeeper host:
CloudSolrClient serverCloud = new CloudSolrClient.Builder().
withZkHost(connectionStr).build();
I saw useful codes of Deepak Shrivastava and Brian teggart for authenticating solr.
@Deepak Shrivastava used HttpSolrClientand @Brian teggart used AuthScope.
I have zookeeper host connection string instead of solr core url, so I cannot use these codes.
How can I set authentication for my solrCloud?