mirror of https://github.com/apache/lucene.git
SOLR-14748: Correct condition on startup auth/ssl logging
This commit is contained in:
parent
e72a0d66c6
commit
a6515ca38f
|
@ -178,6 +178,8 @@ Bug Fixes
|
|||
* SOLR-14657: Improve error handling in IndexReader realted metrics that were causing scary ERROR logging
|
||||
if metrics were requested while Solr was in the process of closing/re-opening a new IndexReader. (hossman)
|
||||
|
||||
* SOLR-14748: Fix incorrect auth/SSL startup logging (Jason Gerlowski)
|
||||
|
||||
Other Changes
|
||||
---------------------
|
||||
|
||||
|
|
|
@ -953,7 +953,7 @@ public class CoreContainer {
|
|||
(authorizationPlugin != null) ? "enabled" : "disabled");
|
||||
}
|
||||
|
||||
if (authenticationPlugin !=null && StringUtils.isNotEmpty(System.getProperty("solr.jetty.https.port"))) {
|
||||
if (authenticationPlugin != null && StringUtils.isEmpty(System.getProperty("solr.jetty.https.port"))) {
|
||||
log.warn("Solr authentication is enabled, but SSL is off. Consider enabling SSL to protect user credentials and data with encryption.");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue