This string includes the properties you may need to connect through a proxy server with user ID and password authentication.

jdbc:datadirect:saphana://server_name:port_number;ProxyHost=proxy_host;
ProxyPassword=proxy_password;ProxyPort=proxy_port;ProxyUser=proxy_user;
User=user_name;Password=password;[property=value[;...]];

where:

server_name

specifies the server name or IP address of the service to which you want to connect. For example, MyServer.

port_number
specifies the TCP port of the primary database server that is listening for connections to the database. The default is 30015.
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.
user_name
specifies the user ID that is used to connect to the SAP HANA instance. For example, jsmith.
password
specifies the password used to connect to your SAP HANA instance.
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 user ID and password authentication.

Connection conn = DriverManager.getConnection
("jdbc:datadirect:saphana://MyServer:30015;ProxyHost=pserver;
  ProxyPassword=proxysecret;ProxyPort=808;ProxyUser=PUser;User=jsmith;
  Password=secret;");