Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
5.1 EE SP2 (5.1.5), 5.2 CE (5.2.3)
-
All
Description
Basic authentication has been added to Solr. Enabling basic authentication provides protection for Solr servers that are accessible from the web.
To protect Solr:
Edit conf/tomcat-users.xml:
<role rolename="role" />
<user username="username" password="password" roles="role" />
In solr/WEB-INF/web.xml:
<security-constraint>
<web-resource-collection>
<web-resource-name>Protected Solr</web-resource-name>
<url-pattern>/*</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
...
</web-resource-collection>
<auth-constraint>
<role-name>role</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>Basic Authentication</realm-name>
</login-config>
<security-role>
<description>role</description>
<role-name>role</role-name>
</security-role>
Attachments
Issue Links
- is related to
-
LPS-3810 Solr Basic Authentication
-
- Closed
-