lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Furkan KAMACI <furkankam...@gmail.com>
Subject Securing JettySolrRunner
Date Tue, 17 Mar 2015 22:14:32 GMT
Hi All,

Why we can not set setUserRealms for JettySolrRunner? I want to test
secured SolrServer at another project and I want to run JettySolrRunner. I
do not want to use an external config file for my test purposed jetty (if
you have an advice you are welcome). Here is an example what I want to
achieve:

HashUserRealm myrealm = new
HashUserRealm("MyRealm",System.getProperty("app.home")+"/etc/realm.properties");
server.setUserRealms(new UserRealm[]{myrealm});

Kind Regards,
Furkan KAMACI

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message