Browse Source

Pull request #15092: REPORT-137866 【fr-fbp冒烟】【数据源】数据连接-ssh设置-公钥认证,读不到私钥文件

Merge in DESIGN/design from ~DESTINY.LIN/design:fbp/release to fbp/release

* commit 'efee690f05af2593b250e6f5ce4e74f2ac448dbe':
  REPORT-137866 【fr-fbp冒烟】【数据源】数据连接-ssh设置-公钥认证,读不到私钥文件
fbp/release
Destiny.Lin-林锦龙 1 month ago
parent
commit
50d6718890
  1. 2
      designer-base/src/main/java/com/fr/design/data/datapane/connect/SshPane.java

2
designer-base/src/main/java/com/fr/design/data/datapane/connect/SshPane.java

@ -97,7 +97,7 @@ public class SshPane extends BasicPane {
type.addActionListener(e -> changePaneForType());
fileChooserButton.addActionListener(e -> {
FILEChooserPane fileChooser = FILEChooserPane.getInstanceWithDesignatePath(SslUtils.PREFIX, new ChooseFileFilter(true), SslUtils.CERTIFICATES);
FILEChooserPane fileChooser = FILEChooserPane.getFileCAChoosePane(new ChooseFileFilter(true));
int type = fileChooser.showOpenDialog(SshPane.this, StringUtils.EMPTY);
if (type == FILEChooserPane.OK_OPTION) {
final FILE file = fileChooser.getSelectedFILE();

Loading…
Cancel
Save