Github user janhoy commented on a diff in the pull request:
https://github.com/apache/lucene-solr/pull/465#discussion_r223855611
--- Diff: solr/core/src/java/org/apache/solr/security/BasicAuthPlugin.java
---
@@ -180,8 +193,16 @@ public boolean getBlockUnknown(){
return blockUnknown;
}
- public static final String BLOCK_UNKNOWN = "blockUnknown";
- private static final Set<String> PROPS = ImmutableSet.of(BLOCK_UNKNOWN);
-
-
+ public static final String PROPERTY_BLOCK_UNKNOWN = "blockUnknown";
+ public static final String PROPERTY_REALM = "realm";
+ private static final Set<String> PROPS =
ImmutableSet.of(PROPERTY_BLOCK_UNKNOWN, PROPERTY_REALM);
--- End diff --
BasicAuth reads the "realm" property and defaults to "solr", but there was
no means of setting the property. Also there was no documentation of "realm",
so added that to RefGuide.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]