tboeghk opened a new pull request #100:
URL: https://github.com/apache/solr/pull/100


   # Description
   
   Currently it's not possible to set up a _TLOG/PULL_ replica ensemble in a 
basic auth secured Solr cluster. On the _PULL_ replica, the `IndexFetcher` is 
utilized to fetch changes from the _TLOG_ leader replica. If the leader replica 
is secured via basic auth, there's currently no way to supply an credentials.
   
   # Solution
   
   This PR reads basic auth credentials (if given) either as system property or 
(if not found) as environment variable. 
   
   The HTTP basic auth user and password are read from the 
`replication.httpBasicAuthUser` and `replication.httpBasicAuthPassword` 
respectively. If not found in the system properties, they are read from the 
`SOLR_REPLICATION_HTTP_BASIC_AUTH_USER` and 
`SOLR_REPLICATION_HTTP_BASIC_AUTH_PASSWORD` environment variables.
   
   # Tests
   
   Please describe the tests you've developed or run to confirm this patch 
implements the feature or solves the problem.
   
   # Checklist
   
   Please review the following and check all that apply:
   
   - [x] I have reviewed the guidelines for [How to 
Contribute](https://wiki.apache.org/solr/HowToContribute) and my code conforms 
to the standards described there to the best of my ability.
   - [x] I have created a Jira issue and added the issue ID to my pull request 
title.
   - [ ] I have given Solr maintainers 
[access](https://help.github.com/en/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork)
 to contribute to my PR branch. (optional but recommended)
   - [x] I have developed this patch against the `main` branch.
   - [ ] I have run `./gradlew check`.
   - [ ] I have added tests for my changes.
   - [ ] I have added documentation for the [Reference 
Guide](https://github.com/apache/solr/tree/main/solr/solr-ref-guide)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to