log.debug(" Host: " + psd.host);
log.debug(" Port: " + psd.port);
log.debug(" User: " + user);
log.debug(" And some password...");
ConnectionConfiguration cfg =
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);