diff --git a/core/jmx/api/src/main/java/org/opennms/netmgt/jmx/connection/JmxConnectionConfig.java b/core/jmx/api/src/main/java/org/opennms/netmgt/jmx/connection/JmxConnectionConfig.java index e8659bb2ec44..3bc4190a38ff 100644 --- a/core/jmx/api/src/main/java/org/opennms/netmgt/jmx/connection/JmxConnectionConfig.java +++ b/core/jmx/api/src/main/java/org/opennms/netmgt/jmx/connection/JmxConnectionConfig.java @@ -1,8 +1,8 @@ /******************************************************************************* * This file is part of OpenNMS(R). * - * Copyright (C) 2017-2017 The OpenNMS Group, Inc. - * OpenNMS(R) is Copyright (C) 1999-2017 The OpenNMS Group, Inc. + * Copyright (C) 2017-2023 The OpenNMS Group, Inc. + * OpenNMS(R) is Copyright (C) 1999-2023 The OpenNMS Group, Inc. * * OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc. * @@ -106,6 +106,9 @@ public PasswordStrategy getPasswordStategy() { if ("PASSWORD_CLEAR".equals(getFactory())) { return PasswordStrategy.PASSWORD_CLEAR; } + if ("PASSWORD-CLEAR".equals(getFactory())) { + return PasswordStrategy.PASSWORD_CLEAR; + } if ("SASL".equals(getFactory())) { return PasswordStrategy.SASL; }