MarcusSorealheis commented on a change in pull request #805: SOLR-13649 change 
the default behavior of the basic authentication plugin.
URL: https://github.com/apache/lucene-solr/pull/805#discussion_r318425825
 
 

 ##########
 File path: 
solr/core/src/test/org/apache/solr/security/BasicAuthIntegrationTest.java
 ##########
 @@ -114,7 +114,7 @@ public void testBasicAuth() throws Exception {
       String baseUrl = randomJetty.getBaseUrl().toString();
       verifySecurityStatus(cl, baseUrl + authcPrefix, "/errorMessages", null, 
20);
       zkClient().setData("/security.json", STD_CONF.replaceAll("'", 
"\"").getBytes(UTF_8), true);
-      verifySecurityStatus(cl, baseUrl + authcPrefix, "authentication/class", 
"solr.BasicAuthPlugin", 20);
+      verifySecurityStatus(cl, baseUrl + authcPrefix, "authentication/class", 
"solr.BasicAuthPlugin", 20, "solr", "SolrRocks");
 
 Review comment:
   On second thought, I take that back. As discussed, the authentication 
requires a user upon enabling. If there is no user, there is an exception. 
regardless the value of `blockUknown`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to