Re: Basic Auth (again)

2015-07-23 Thread Peter Sturge
Hi Steve, We've not yet moved to Solr 5, but we do use Jetty 9. In any case, Basic Auth is a Jetty thing, not a Solr thing. We do use this mechanism to great effect to secure things like index writers and such, and it does work well once it's setup. Jetty, as with all containers, is a bit fussy ab

Re: Basic Auth (again)

2015-07-23 Thread Steven White
Hi Petter, I'm on Solr 5.2.1 which comes with Jetty 9.2. I'm setting this up on Windows 2012 but will need to do the same on Linux too. I followed the step per this link: https://wiki.apache.org/solr/SolrSecurity#Jetty_realm_example very much to the book. Here are the changes I made: File: C:\

Re: Basic Auth (again)

2015-07-23 Thread Peter Sturge
Hi Steve, What version of Jetty are you using? Have you got a webdefault.xml in your etc folder? If so, does it have an entry like this: BASIC Realm Name as specified in jetty.xml It's been a few years since I set this up, but I believe you also need an auth-constraint in webdefau

Basic Auth (again)

2015-07-23 Thread Steven White
(re-posting as new email thread to see if this will make it to the list) That didn't help. I still get the same result and virtually no log to help me figure out where / what things are going wrong. Here is all that I see in C:\Solr\solr-5.2.1\server\logs\solr.log: INFO - 2015-07-23 05:29:1