jbertram commented on a change in pull request #3488:
URL: https://github.com/apache/activemq-artemis/pull/3488#discussion_r593273448



##########
File path: 
artemis-jdbc-store/src/main/java/org/apache/activemq/artemis/jdbc/store/drivers/JDBCDataSourceUtils.java
##########
@@ -29,7 +29,7 @@ public static DataSource getDataSource(String 
dataSourceClassName, Map<String, O
       
ActiveMQJournalLogger.LOGGER.initializingJdbcDataSource(dataSourceClassName, 
dataSourceProperties
          .keySet()
          .stream()
-         .map(key -> key + "=" + dataSourceProperties.get(key))
+         .map(key -> key + "=" + (key.equals("password") ? "****" : 
dataSourceProperties.get(key)))

Review comment:
       @brusdev, yes, I would assume that's theoretically possible. I will 
update the PR to use `equalsIgnoreCase` instead of `equals`.




----------------------------------------------------------------
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:
[email protected]


Reply via email to