presto-jdbc/src/main/java/io/prestosql/jdbc/AbstractConnectionProperty.java/AbstractConnectionProperty/validate
class AbstractConnectionProperty:    @Override
    public void validate(Properties properties)
            throws SQLException
    {
        if (!isAllowed(properties)) {
            throw new SQLException(format("Connection property '%s' is not allowed", key));
        }

        getValue(properties);
    }