Github user gaohoward commented on a diff in the pull request:
https://github.com/apache/activemq-artemis/pull/1771#discussion_r162233948
--- Diff:
artemis-core-client/src/main/java/org/apache/activemq/artemis/api/config/ActiveMQDefaultConfiguration.java
---
@@ -622,8 +622,8 @@ public static String getDefaultClusterPassword() {
/**
* This option controls whether passwords in server configuration need
be masked. If set to "true" the passwords are masked.
*/
- public static boolean isDefaultMaskPassword() {
- return DEFAULT_MASK_PASSWORD;
+ public static Boolean isDefaultMaskPassword() {
--- End diff --
@clebertsuconic yes that's the purpose as @jbertram pointed out. I need
'null' to represent the case where the mask-password is not specified at all.
---