lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Drouin <>
Subject Solr 4.10.2 Enabling Basic Authentication in HTTP
Date Wed, 05 Oct 2016 18:06:39 GMT

I currently have basic authentication enabled with HTTPS and it is working great.  I want
to remove SSL from my Solr installation (master/slave) while keeping the basic authentication.
 To this effect, I removed the SslSelectChannelConnector connector from my jetty.xml file
and I replaced it with the SelectChannelConnector connector like so:

    <Call name="addConnector">
          <New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
            <Set name="host"><SystemProperty name="" /></Set>
            <Set name="port"><SystemProperty name="jetty.port" default="8983"/></Set>
            <Set name="maxIdleTime">50000</Set>
            <Set name="Acceptors">2</Set>
            <Set name="statsOn">false</Set>
            <Set name="lowResourcesConnections">5000</Set>
            <Set name="lowResourcesMaxIdleTime">5000</Set>

However I get a 403 error when I try to access the Solr server (url: /solr).  I did not modify
the security-constraint nodes of my web.xml file since the basic authentication was working
in HTTPS and I can provide the file if necessary.

How can I enable basic authentication for HTTP in Solr 4.10.2 ?

Alexandre Drouin
View raw message