Skip to content

Instantly share code, notes, and snippets.

@PaulSorensen
Created September 26, 2013 09:38
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save PaulSorensen/6711972 to your computer and use it in GitHub Desktop.
egeek.dk - Password protect Solr admin
<web-resource-collection>
<web-resource-name>Solr Lockdown</web-resource-name>
<url-pattern>/</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>solr_admin</role-name>
<role-name>admin</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>Solr</realm-name>
@studiotwelve
Copy link

this seems to be truncated? there is no opening tag for </security-constraint> or closing tag for <login-config>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment