Yea the use-case is along those lines.  But it still is a bit awkward, I wasn't 
sure if a better way.  Here's the situation (in some non-oss code we have).  
Calling code was originally:

```
make_solr_from_config(solr_mail_server)
```

and it was only doing queries, so `push_server_auths[0]` logic was being used.  
It needed auth and I wanted to provide the *query* auth since it was only doing 
queries:

```
make_solr_from_config(solr_mail_server, query_server_auth=(some_user, 
some_pass))
```

so I ended up with this


---

**[tickets:#8568] support basic auth to solr**

**Status:** review
**Milestone:** unreleased
**Created:** Wed Oct 02, 2024 03:42 PM UTC by Dave Brondsema
**Last Updated:** Fri Oct 04, 2024 02:58 PM UTC
**Owner:** Dave Brondsema





---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed 
to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.

Reply via email to