Hello all,

Do we have any update on best practices related to above mentioned
challenges?

*Thanks & Regards,*
*Uday Kumar*


On Mon, Dec 11, 2023 at 2:18 PM Uday Kumar <uday.p...@indiamart.com> wrote:

> Hello all,
>
> We are working on a project which involves two processes, indexing
> documents into Solr cloud and querying from Solr cloud.
>
> We are trying to implement authentication at the Solr Cloud using the
> Basic Authentication *[with username and password]* plugin to ensure that
> only authenticated users can access.
>
> We have encountered a couple of challenges regarding the implementation of
> authentication at both the indexing and querying processes. Specifically:
>
> *1. Authentication for Indexing:*
>
> We are currently using the SolrJ client for indexing documents into the
> Solr index. However, with authentication enabled at Solr, we are uncertain
> about the best practices for implementing authentication within the SolrJ
> client during the indexing process. Could you provide guidance on how to
> seamlessly integrate authentication into the SolrJ client for secure
> document indexing?
>
> *2. Authentication for Querying:*
>
> On the querying side, we are using the `HttpURLConnection` package for
> making requests to Solr Cloud. Given the authentication requirements, I am
> seeking advice on how to properly authenticate and handle queries securely
> using `HttpURLConnection`.
>
> *3. Secure Storage of User Credentials in Spring Boot:*
>
> Additionally, we are exploring ways to securely store Solr Cloud
> credentials (username and password) within our Spring Boot application
> instead of raw text in properties file. Could you provide recommendations
> or best practices for securely storing and retrieving Solr Cloud
> credentials in a Spring Boot application?
>
> *Thanks & Regards,*
> *Uday Kumar*
>

Reply via email to