Our web services are using PKI authentication so we have a user DN, however we're querying an external Solr which is managed via a proxy which is expecting our server DN proxying the user DN. My question is, how do we add an HTTP header to the request being made by SolrJ?
I looked through the source code and I see that we can specify an HttpClient when we create a new instance of an HttpSolrServer. I can set the header there, but that seems slightly hackey to me. I'd prefer to use a servlet filter if possible. Do you have any other suggestions? Thanks! *-- Andrew Doyle* Software Engineer II <http://www.clearedgeit.com/news/2013/baltimore-sun-top-workplace/> 10620 Guilford Road, Suite 200 Jessup, MD 20794 direct: 410 854 5560 cell: 410 440 8478 *ado...@clearedgeit.com <ado...@clearedgeit.com>* * www.ClearEdgeIT.com <http://www.ClearEdgeIT.com>*