ConnectionFactory.getInstance().getConfiguration(psd.host, psd.port, user, pass);
cfg.setTimeout(120000);
cfg.setLoadOnDemand(true);
try {
Connection con = ConnectionFactory.getInstance().newConnection(cfg);
Database db = con.getDatabaseByName("Config");
if (db != null) {
return parsePaloStudioConnectionData(user, pass, psd.host, psd.port, db, viewId, log, data, locale);
} else {
log.error("No configuration database found...", new NullPointerException());
return null;