Proxy server
- Last Updated: July 2, 2025
- 1 minute read
- DataDirect Connectors
- JDBC
- Aha! 6.0
- Documentation
This string includes the properties you may need to connect through a proxy server with basic authentication.
jdbc:datadirect:aha:servername;ProxyHost=proxy_host;ProxyPassword=proxy_password;
ProxyPort=proxy_port;ProxyUser=proxy_user;AuthenticationMethod=method;
user=username;password=password;[property=value[;...]];
where:
- servername
- specifies the base URL of the Aha! service to which you want to issue requests. For example, company.aha.io.
- 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, which means the port number is determined by the setting of the ProxyHost property. If an http URL is specified, the default port number is80. If an https URL is specified, the default is443.
- proxy_user
- specifies the user name needed to connect to a proxy server for the first connection.
- user
- specifies the user name that is used to connect to the Aha! service. For example, jsmith@company.com.
- password
- specifies the password used to connect to your Aha! service.
- property=value
- specifies connection property settings. Multiple properties are separated by a semi-colon.
Note: The User and Password
properties are not required to be stored in the connection string. They can also be passed
separately by the application.
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:aha:company.aha.io;ProxyHost=pserver;ProxyPassword=secret;
ProxyPort=808;ProxyUser=jsmith;user=jsmith@company.com;password=secret;");