ldapField.setCanEdit(false); // read-only
fields.add(ldapField);
DataSourcePasswordField passwordField = new DataSourcePasswordField(Field.PASSWORD,
MSG.common_title_password(), 100, true);
LengthRangeValidator passwordValidator = new LengthRangeValidator();
passwordValidator.setMin(6);
passwordValidator.setMax(100);
passwordField.setValidators(passwordValidator);
fields.add(passwordField);
DataSourcePasswordField passwordVerifyField = new DataSourcePasswordField(Field.PASSWORD_VERIFY,
MSG.dataSource_users_field_passwordVerify(), 100, true);