mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
CB-3775 test ssh handler fix (#1852)
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user