Fix BDC auth (#16053)

This commit is contained in:
Charles Gagnon
2021-07-09 11:56:54 -07:00
committed by GitHub
parent 27823e9900
commit 0045193262
4 changed files with 7 additions and 19 deletions

View File

@@ -8,6 +8,7 @@ import * as nls from 'vscode-nls';
const localize = nls.loadMessageBundle();
import * as constants from '../constants';
import { getIgnoreSslVerificationConfigSetting } from '../util/auth';
import { IFileSource, IHdfsOptions, FileSourceFactory } from './fileSources';
export class SqlClusterConnection {
@@ -56,6 +57,7 @@ export class SqlClusterConnection {
user: this.user,
path: 'gateway/default/webhdfs/v1',
requestParams: {
rejectUnauthorized: !getIgnoreSslVerificationConfigSetting()
}
};
if (this.isIntegratedAuth()) {