|
|
@ -121,7 +121,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
} = connectionData as ConnectionJDBC; |
|
|
|
} = connectionData as ConnectionJDBC; |
|
|
|
this.oldPassword = password; |
|
|
|
this.oldPassword = password; |
|
|
|
this.oldSshSecret = sshSecret; |
|
|
|
this.oldSshSecret = sshSecret; |
|
|
|
!BI.isUndefined(principal) && this.getPrincipals(keyPath, principal); |
|
|
|
!BI.isUndefined(principal) && this.initPrincipals(keyPath, principal); |
|
|
|
|
|
|
|
|
|
|
|
const { |
|
|
|
const { |
|
|
|
initialSize, |
|
|
|
initialSize, |
|
|
@ -1336,7 +1336,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
this.form.keyPath.setFileInfo(KerberosParams); |
|
|
|
this.form.keyPath.setFileInfo(KerberosParams); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public getPrincipals(keyPath, principal) { |
|
|
|
public initPrincipals(keyPath, principal) { |
|
|
|
let self = this; |
|
|
|
let self = this; |
|
|
|
api.getPrincipals(keyPath).then(res => { |
|
|
|
api.getPrincipals(keyPath).then(res => { |
|
|
|
const principalsItems = BI.map(res.data, function(index, item) { |
|
|
|
const principalsItems = BI.map(res.data, function(index, item) { |
|
|
|