I an not very familiar with solr. I have installed solr successfully. It is using jetty webserver. My solr version is 4.10.3. It admin page is not protected by password. Any
For version below 5
If you are using solr-webapp then you need to modify web.xml file and add these lines:
Solr Lockdown
/
solr_admin
admin
BASIC
Solr
For Jetty server, you need to add below lines in /example/etc/webdefault.xml
Solr authenticated application
/
**admin-role**
BASIC
Test Realm
Update /example/etc/jetty.xml file
Test Realm
/etc/realm.properties
0
/example/etc/realm.properties :
admin: s3cr3t, admin-role
Username = admin password = s3cr3t. Role name = admin-role
Solr version 5+
In latest Solr version folder structure got changed. You will find all files in below folder-path.
{SOLR_HOME}/server/etc/jetty.xml {SOLR_HOME}/server/etc/webdefault.xml
Create new credential file at {SOLR_HOME}/server/etc/realm.properties:
admin: s3cr3t, admin-role
For more info you can help solr wiki docs