This closes #1841
This commit is contained in:
commit
26a28d0686
|
@ -1159,7 +1159,9 @@ public final class FileConfigurationParser extends XMLConfigurationUtil {
|
||||||
|
|
||||||
Map<String, Object> params = configurations.get(0).getParams();
|
Map<String, Object> params = configurations.get(0).getParams();
|
||||||
|
|
||||||
params.put(ActiveMQDefaultConfiguration.getPropMaskPassword(), mainConfig.isMaskPassword());
|
if (mainConfig.isMaskPassword() != null) {
|
||||||
|
params.put(ActiveMQDefaultConfiguration.getPropMaskPassword(), mainConfig.isMaskPassword());
|
||||||
|
}
|
||||||
|
|
||||||
if (mainConfig.getPasswordCodec() != null) {
|
if (mainConfig.getPasswordCodec() != null) {
|
||||||
params.put(ActiveMQDefaultConfiguration.getPropPasswordCodec(), mainConfig.getPasswordCodec());
|
params.put(ActiveMQDefaultConfiguration.getPropPasswordCodec(), mainConfig.getPasswordCodec());
|
||||||
|
@ -1180,7 +1182,9 @@ public final class FileConfigurationParser extends XMLConfigurationUtil {
|
||||||
|
|
||||||
Map<String, Object> params = configurations.get(0).getParams();
|
Map<String, Object> params = configurations.get(0).getParams();
|
||||||
|
|
||||||
params.put(ActiveMQDefaultConfiguration.getPropMaskPassword(), mainConfig.isMaskPassword());
|
if (mainConfig.isMaskPassword() != null) {
|
||||||
|
params.put(ActiveMQDefaultConfiguration.getPropMaskPassword(), mainConfig.isMaskPassword());
|
||||||
|
}
|
||||||
|
|
||||||
if (mainConfig.getPasswordCodec() != null) {
|
if (mainConfig.getPasswordCodec() != null) {
|
||||||
params.put(ActiveMQDefaultConfiguration.getPropPasswordCodec(), mainConfig.getPasswordCodec());
|
params.put(ActiveMQDefaultConfiguration.getPropPasswordCodec(), mainConfig.getPasswordCodec());
|
||||||
|
|
Loading…
Reference in New Issue