Proxy server
- Last Updated: July 2, 2025
- 1 minute read
- DataDirect Connectors
- JDBC
- Documentation
This string includes the properties you may need to connect through a proxy server with OAuth 2.0 refresh token grant authentication.
jdbc:datadirect:googleanalytics:ProxyHost=proxy_host;ProxyPassword=proxy_password;
ProxyPort=proxy_port;ProxyUser=proxy_user;RefreshToken=refresh_token;
[property=value[;...]];
where:
- proxy_host
- specifies the proxy server to use for the first connection.
- proxy_password
- specifies the password needed to connect to a proxy server for the first connection.
- proxy_port
- specifies the port number where the proxy server is listening for
requests for the first connection. The default is
0.
- proxy_user
- specifies the user name needed to connect to a proxy server for the first connection.
- refresh_token
- specifies the refresh token used to either request a new access token or renew an expired access token.
- property=value
- specifies connection property settings. Multiple properties are separated by a semi-colon.
The following example connection string includes the properties required for using a proxy server with OAuth 2.0 refresh token grant authentication.
Connection conn = DriverManager.getConnection
("jdbc:datadirect:googleanalytics:
ProxyHost=pserver;ProxyPassword=secret;ProxyPort=808;ProxyUser=jsmith;
RefreshToken=12a3=bCD/EfGh4Ijk+Lgd8g-44tk3c527831;");