We are using standalone solr running on Jetty server. To secure this server, we have implemented authentication for the solr UI, by editing web.xml and, jetty.xml. This authentication is successful. But while using search functionality in storefront, getting "Error 401 Unauthorized" error in log.
To fix this, customized DefaultFacetSearchService.java and overridden search() method with HttpClient and using the credentials. But the approach is unsuccessful. If anyone has got idea on this please share.