presto-jdbc/src/main/java/io/prestosql/jdbc/ConnectionProperties.java/ConnectionProperties/parseSingleCredential
class ConnectionProperties:        public static List<String> parseSingleCredential(String credential)
        {
            List<String> nameValue = Splitter.on(':').splitToList(credential);
            checkArgument(nameValue.size() == 2, "Malformed credential: %s", credential);
            String name = nameValue.get(0);
            String value = nameValue.get(1);
            checkArgument(!name.isEmpty(), "Credential name is empty");
            checkArgument(!value.isEmpty(), "Credential value is empty");

            checkArgument(PRINTABLE_ASCII.matchesAllOf(name), "Credential name contains spaces or is not printable ASCII: %s", name);
            checkArgument(PRINTABLE_ASCII.matchesAllOf(value), "Credential value contains spaces or is not printable ASCII: %s", name);
            return nameValue;
        }