CB-3775 test ssh handler fix (#1852)

This commit is contained in:
Ainur
2023-07-27 18:15:37 +03:00
committed by GitHub
parent e785d98c9b
commit c79a9a8efa
@@ -88,10 +88,10 @@ public class WebDataSourceUtils {
if (cfgInput.getPassword() != null) {
handlerConfig.setPassword(cfgInput.getPassword());
}
setSecureProperties(handlerConfig, cfgInput, true);
if (cfgInput.getKey() != null) { // backward compatibility
handlerConfig.setSecureProperty(SSHConstants.PROP_KEY_VALUE, cfgInput.getKey());
}
setSecureProperties(handlerConfig, cfgInput, true);
}
private static void setSecureProperties(DBWHandlerConfiguration handlerConfig, WebNetworkHandlerConfigInput cfgInput, boolean ignoreNulls) {