@SuppressWarnings("deprecation")
	private static Map<String, String> getImplCurlParams(Node db) {
		try {
			ConfigParser cp = ConfigParser.getParser(db);
			HashMap<String, String> ret = new HashMap<String, String>();
			try {
				ret.put("auth-type", cp.getElementAt("auth-type", 0)
						.getAttribute("type"));
			} catch (Exception e) {
				cp.setNode((Element) db);
				ret.put("auth-type", ImplCurlConnection.AuthType.NONE.name());
			}
			cp.setNode((Element) db);
			ret.put("curl-url",
					cp.getElementAt("curl-url", 0).getAttribute("url"));
			cp.setNode((Element) db);
			NodeList nl = cp.getNodeList("property");
			for (int i = 0; i < nl.getLength(); i++) {
				Element e = (Element) nl.item(i);
				ret.put(e.getAttribute("name"), e.getAttribute("value"));
			}
			return ret;
		} catch (ParserConfigurationException | SAXException | IOException e) {
			LogHandler.writeStackTrace(Logger.getGlobal(), e, Level.SEVERE);
			return null;
		}
	}