if(StringUtil.isEmpty(user) || StringUtil.isEmpty(service)){
throw new HettyException("In config file's security-settings,user or service cannot't be empty!");
}
String version = element.attributeValue("version");
ServiceVersion serviceVersion = new ServiceVersion();
serviceVersion.setUser(user);
serviceVersion.setService(service);
serviceVersion.setVersion(version);
versionList.add(serviceVersion);
}
return versionList;
}