Browse Source

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

fbp/merge
Destiny.Lin 2 months ago
parent
commit
96e76398e1
  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()); type.addActionListener(e -> changePaneForType());
fileChooserButton.addActionListener(e -> { 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); int type = fileChooser.showOpenDialog(SshPane.this, StringUtils.EMPTY);
if (type == FILEChooserPane.OK_OPTION) { if (type == FILEChooserPane.OK_OPTION) {
final FILE file = fileChooser.getSelectedFILE(); final FILE file = fileChooser.getSelectedFILE();

Loading…
Cancel
Save