@Test public void testGetServerURL_PasswordProperties() throws Exception { String result = null; String srcURL = "jdbc:teiid:designtimecatalog@mm: String password = null; String tgtURL = "mm: for ( char ch = 32; ch <= 126; ch++ ) { if ( ch != ';' && ch != '=' && ch != '%') { password = ch+"mm"; result = new JDBCURL(srcURL+URLEncoder.encode(password, "UTF-8")).getConnectionURL(); assertEquals("Failed to obtain correct ServerURL when using password "+password,tgtURL, result); } } }
public String getConnectionURL() { return connectionURL; }
JDBCURL { public String getConnectionURL() { return connectionURL; } }
JDBCURL { public String getConnectionURL() { return connectionURL; } JDBCURL(String jdbcURL);  JDBCURL(String vdbName, String connectionURL, Properties props); }
JDBCURL { public String getConnectionURL() { return connectionURL; } JDBCURL(String jdbcURL);  JDBCURL(String vdbName, String connectionURL, Properties props); static ConnectionType acceptsUrl(String url); String getVDBName(); String getConnectionURL(); Properties getProperties(); static void parseConnectionProperties(String connectionInfo, Properties p); String getJDBCURL(); String getProperty(String key); String getUserName(); String getPassword(); String getVDBVersion(); String getTransactionAutowrapMode(); String getPartialResultsMode(); String getResultSetCacheMode(); String getAnsiQuotedIdentifiers(); String getFetchSize(); String getTransparentFailover(); String getDisableLocalTransactions(); String toString(); static void addNormalizedProperty(String key, Object value, Properties target); static String getValidKey(String key); static Properties normalizeProperties(Properties props); }
JDBCURL { public String getConnectionURL() { return connectionURL; } JDBCURL(String jdbcURL);  JDBCURL(String vdbName, String connectionURL, Properties props); static ConnectionType acceptsUrl(String url); String getVDBName(); String getConnectionURL(); Properties getProperties(); static void parseConnectionProperties(String connectionInfo, Properties p); String getJDBCURL(); String getProperty(String key); String getUserName(); String getPassword(); String getVDBVersion(); String getTransactionAutowrapMode(); String getPartialResultsMode(); String getResultSetCacheMode(); String getAnsiQuotedIdentifiers(); String getFetchSize(); String getTransparentFailover(); String getDisableLocalTransactions(); String toString(); static void addNormalizedProperty(String key, Object value, Properties target); static String getValidKey(String key); static Properties normalizeProperties(Properties props); static final String JDBC_PROTOCOL; static final Map<String, String> EXECUTION_PROPERTIES; static final Map<String, String> KNOWN_PROPERTIES; }