Hi,
I'm using solr 4.4 with jetty and I'm trying to password-protect the
admin pages.

I've read many posts from this list, as well as the main solr security doc :
http://wiki.apache.org/solr/SolrSecurity#Jetty_realm_example

and added this to my web.xml

  <security-constraint>
    <web-resource-collection>
      <web-resource-name>Solr authenticated application</web-resource-name>
      <url-pattern>/admin/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
      <role-name>admin-role</role-name>
    </auth-constraint>
  </security-constraint>

  <login-config>
    <auth-method>BASIC</auth-method>
    <realm-name>Test Realm</realm-name>
  </login-config>

I also managed my realm settings with jetty, and I guess I'm correct
on this side, since a simple "/*" protection (password protection for
all pages) works fine.

However, for /admin/* the password is asked (and rejected if not
correct), but the page never loads (I see the left menu, as well as a
loading image on the main frame, but it never stops loading and never
show me an error message).

I use the default start.jar with a custom solr.solr.home.

There I'm at a point where any help will be appreciated!
Thanks,

Reply via email to