public interface SSHConnectionCreator extends ConnectionCreator
SSHTunnelManager
needs to extract the host/port
information when initiating the port forwarding, and
SSHTunnel.getLocalConnectionURL(oracle.jdeveloper.db.adapter.DatabaseProvider)
needs to be
able to rewrite the URL with the local host and port.Modifier and Type | Method and Description |
---|---|
SSHTunnelConfiguration |
getConfiguration(DatabaseProvider pro)
Gets an SSHTunnelConfiguration (with the url, and the host and port
information separate) for the connection details in the given
DatabaseProvider.
|
getConnection, getConnectionURL, getDriverClassName, getJDBCProperties, isPassword, listAllowedProperties, listJDBCParameterInfos, listRequiredProperties, shouldEncrypt, shouldPromptForPassword, shouldSave
SSHTunnelConfiguration getConfiguration(DatabaseProvider pro) throws java.sql.SQLException
pro
- the connection detailsjava.sql.SQLException
- if the connection details are not valid and the
tunnel configuration cannot be determined.