private static String getURLUserInfo(URL url) {

		String userinfo = url.getUserInfo();
		if (userinfo == null) {
			return null;
		}

		int pwSep = userinfo.indexOf(':');
		String urlUserInfo;
		if (pwSep >= 0) {
			urlUserInfo = urlDecode(userinfo.substring(0, pwSep)) + ":" +
				urlDecode(userinfo.substring(pwSep + 1));
		}
		else {
			urlUserInfo = urlDecode(userinfo);
		}
		return cleanupUserInfo(urlUserInfo);
	}
Construct a new {@link BSimServerInfo} object from a suitable database URL
(i.e., {@code postgresql:}, {@code https:}, {@code elastic:}, {@code file:}).

@param url supported BSim database URL.  For non-file URLs, the hostname or 
address may be preceeded by a DB username (e.g., postgresql://user@host:port/dbname
@throws IllegalArgumentException if unsupported URL protocol specified
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/BSimServerInfo.java