Authentication works the same in 7.x but the admin is not aware of it so you will get a browser request for password if using basic auth. Upgrade to 8.x for the login screen.
Jan Høydahl > 26. apr. 2020 kl. 06:05 skrev Amy Bai <a...@pivotal.io>: > > Thanks so much for your kindly reply. > Another question, I found that there is no login-screen in Solr 7.4. So, > how can we support Admin UI protect in Solr 7.4 ? > > Regards, > Amy > >> On Fri, Apr 24, 2020 at 4:25 PM Jan Høydahl <jan....@cominvent.com> wrote: >> >> Yes, please read the Reference Guide >> >> >> https://lucene.apache.org/solr/guide/8_5/overview-of-the-solr-admin-ui.html#login-screen >> >> PS: Note that the Admin UI is just static public files and does not need >> protection as such. But the Admin UI app in your browser will do HTTP >> requests to Solr APIs, and when one of those returns a "401 Not Authorized" >> response, you will be sent to the login screen to provide credentials. >> >> Jan >> >>>> 24. apr. 2020 kl. 06:36 skrev Amy Bai <a...@pivotal.io>: >>> >>> Hi community, >>> >>> I there any way to password protect apache solr server admin pages in >> solr cloud mode? >>> Something like when I open the server admin pages, there will be a login >> page need user and password input. >>> I learn that modify jetty.xml could work in standalone mode, how about >> in solr cloud mode? >>> Please feel free to reply, thanks! >>> >>> Regards, >>> Amy >> >>