Have a look at this thread: http://www.lucidimagination.com/search/document/d1e338dc452db2e4/how_can_i_protect_the_solr_cores
It shows how to setup basic authentication. It's targeted for Jetty, but the same technique can be used fro TomCat. HTH, Peter On Mon, May 10, 2010 at 10:11 PM, Matthew Mauriello <mm578...@albany.edu>wrote: > Even after updating the web.xml file in the solr.war file and restarting > tomcat as in the example, I am never prompted to input my username and > password and I am able to access solr just fine. I checked to make sure > the code was copied over correctly after the reset and it was. So I have > followed the example exactly and nothing... > > Basic Authentication seems to be commonly used but none of the examples > seem to work in Tomcat 6... are their any alternative methods? > > ~Matt > > > Gregor, > > > > Thanks for the quick reply. The problem I seem to be having with that > > example (tried it multiple times) seems to be perhaps with the files I am > > editing. I have a solr.war file in the webapps folder, do I need to > modify > > that war file or the web.xml file in the solr directory? > > > > ~Matt > > > >> On 05/10/2010 08:53 PM, Matthew Mauriello wrote: > >>> I am having a problem password protecting my single solr instance in > >>> Tomcat 6, does anyone know of a tutorial/example that works in Tomcat > >>> 6? > >>> > >>> Thanks, > >>> > >>> ~Matt > >>> > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org > >>> For additional commands, e-mail: dev-h...@lucene.apache.org > >>> > >> Hi Matt, > >> > >> the following blog post explains the configuration quiet well. After all > >> its just two files one has to modify: > >> > >> {tomcat}/conf/tomcat-users.xml, > >> > >> and WEB-INF/web.xml in your solr war file. > >> > >> have a look at > >> http://blog.comtaste.com/2009/02/securing_your_solr_server_on_t.html > >> > >> Gregor > >> > >> -- > >> How to find files on the Internet? FindFiles.net <http://findfiles.net > >! > >> > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org > > For additional commands, e-mail: dev-h...@lucene.apache.org > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org > For additional commands, e-mail: dev-h...@lucene.apache.org > >