|
|
|
@ -187,7 +187,7 @@ export class FormJdbc extends BI.Widget {
|
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
text: 'Kerberos', |
|
|
|
|
value: 'Kerberos', |
|
|
|
|
value: 'kerberos', |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
listeners: [ |
|
|
|
@ -208,6 +208,7 @@ export class FormJdbc extends BI.Widget {
|
|
|
|
|
{ |
|
|
|
|
type: FormItemXtype, |
|
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_UserName'), |
|
|
|
|
invisible: !!authType, |
|
|
|
|
ref: (_ref: any) => { |
|
|
|
|
this.formUser = _ref; |
|
|
|
|
}, |
|
|
|
@ -225,6 +226,7 @@ export class FormJdbc extends BI.Widget {
|
|
|
|
|
{ |
|
|
|
|
type: FormItemXtype, |
|
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Password'), |
|
|
|
|
invisible: !!authType, |
|
|
|
|
ref: (_ref: any) => { |
|
|
|
|
this.formPassword = _ref; |
|
|
|
|
}, |
|
|
|
@ -245,7 +247,7 @@ export class FormJdbc extends BI.Widget {
|
|
|
|
|
{ |
|
|
|
|
type: FormItemXtype, |
|
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Principal'), |
|
|
|
|
invisible: true, |
|
|
|
|
invisible: !authType, |
|
|
|
|
ref: (_ref: any) => { |
|
|
|
|
this.formPrincipal = _ref; |
|
|
|
|
}, |
|
|
|
@ -263,7 +265,7 @@ export class FormJdbc extends BI.Widget {
|
|
|
|
|
{ |
|
|
|
|
type: FormItemXtype, |
|
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_KeyPath'), |
|
|
|
|
invisible: true, |
|
|
|
|
invisible: !authType, |
|
|
|
|
ref: (_ref: any) => { |
|
|
|
|
this.formKeyPath = _ref; |
|
|
|
|
}, |
|
|
|
@ -668,7 +670,7 @@ export class FormJdbc extends BI.Widget {
|
|
|
|
|
authType: this.form.authType.getValue()[0] || '', |
|
|
|
|
creator: Dec ? Dec.personal.username : '', |
|
|
|
|
principal: this.form.principal.getValue(), |
|
|
|
|
keyPath: this.form.principal.getValue(), |
|
|
|
|
keyPath: this.form.keyPath.getValue(), |
|
|
|
|
connectionPoolAttr: { |
|
|
|
|
initialSize: this.form.initialSize.getValue(), |
|
|
|
|
maxActive: this.form.maxActive.getValue(), |
|
|
|
|