mirror of https://github.com/apache/lucene.git
SOLR-9481: Add info-level log "Initializing authentication plugin: <classname>"
Move Sha256AuthProv warning "No users configured yet" to debug level, as this is quite normal
This commit is contained in:
parent
768c7e2648
commit
b69c5d9f27
|
@ -308,6 +308,7 @@ public class CoreContainer {
|
|||
|
||||
// Initialize the plugin
|
||||
if (pluginClassName != null) {
|
||||
log.info("Initializing authentication plugin: " + pluginClassName);
|
||||
authenticationPlugin = new SecurityPluginHolder<>(readVersion(authenticationConfig),
|
||||
getResourceLoader().newInstance(pluginClassName,
|
||||
AuthenticationPlugin.class,
|
||||
|
|
|
@ -64,7 +64,7 @@ public class Sha256AuthenticationProvider implements ConfigEditablePlugin, Basi
|
|||
credentials = new LinkedHashMap<>();
|
||||
Map<String,String> users = (Map<String,String>) pluginConfig.get("credentials");
|
||||
if (users == null) {
|
||||
log.warn("No users configured yet");
|
||||
log.debug("No users configured yet");
|
||||
return;
|
||||
}
|
||||
for (Map.Entry<String, String> e : users.entrySet()) {
|
||||
|
|
Loading…
Reference in New Issue