Basic authentication
- Last Updated: July 2, 2025
- 1 minute read
- DataDirect Connectors
- JDBC
- Aha! 6.0
- Documentation
This string includes the properties used to connect with basic authentication.
jdbc:datadirect:aha://servername;User=username;Password=password;[property=value[;...]];
where:
- servername
- specifies the URL of the Aha! service to which you want to issue requests. For example, company.aha.io.
- 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 connecting with basic authentication.
Connection conn = DriverManager.getConnection
("jdbc:datadirect:aha://company.aha.io;user=jsmith@company.com;password=secret;");