Re: Apache Solr 8.4.1 Basic Authentication

2020-03-27 Thread Mike Phillips
ed this email in error, please notify us by reply email immediately and destroy all copies of this email and its attachments. *From:* Mike Phillips *Sent:* Thursday, March 26, 2020 3:10 PM *To:* Altamirano, Emmanuel *Subject:* Re: Apache Solr 8.4.1 Basic Authentication *EXTERNAL SENDER:* Exercise

Re: Apache Solr 8.4.1 Basic Authentication

2020-03-26 Thread lstusr 5u93n4
Hey Emmanuel, If you're using Java, I'd highly suggest using solrj, it'll do the work that you need it to do: SolrRequest req ;//create a new request object req.setBasicAuthCredentials(userName, password); solrClient.request(req); If that doesn't work for you for some reason, you need to base64