add sql password validation (#6715)

* add sql password validation

* refactor the code

* correct the user name for bdc, it is also sa

* comments
This commit is contained in:
Alan Ren
2019-08-14 16:33:22 -07:00
committed by GitHub
parent 3bb70a7b1f
commit 4e8c06f36d
3 changed files with 136 additions and 47 deletions

View File

@@ -62,12 +62,14 @@ export interface DialogFieldInfo {
required: boolean;
options: string[];
placeHolder: string;
userName?: string; //needed for sql server's password complexity requirement check, password can not include the login name.
}
export enum FieldType {
Text = 'text',
Number = 'number',
DateTimeText = 'datetime_text',
SQLPassword = 'sql_password',
Password = 'password',
Options = 'options'
}