Automatic connection

by | Nov 20, 2019 | Non classifié(e)

An automatic connection mode, without interaction, is available. It allows you to provide a password when launching D.SIDE in real-time or Replay mode. This way, you bypass the “Connection Manager” window and are directly taken to the main screen of D.SIDE in real-time, for example.

Connecting to an Instance

To connect automatically to an Oracle instance, use the “-connect” launch option:

-connect user/encrypted-password@host:port:instance

Example :

java -jar "C:\d.side\d.side.jar" -path "C:/d.side" -connect DSIDE/C53BA414FD407F7130F4E0FEBCC0899F@db-srv-web:1521:PRDB2C

This command starts D.SIDE in real-time, connecting with the user DSIDE to the PRDB2C instance hosted on the machine db-srv-web, via port 1521. No confirmation or password will be requested, as it is passed in an encrypted format. D.SIDE will then start immediately without any further action from the user, who is directly connected.

Connecting to a Service

To connect automatically to a service, simply modify the syntax slightly by replacing ”
” with “/service” to comply with the JDBC format:

-connect user/encrypted-password@host:port/service

For example, to connect to the B2CSERV service on the same machine, use the command:

java -jar "C:\d.side\d.side.jar" -path "C:/d.side" -connect dside/C53BA414FD407F7130F4E0FEBCC0899F@db-srv-web:1521/B2CSERV

How to Encrypt a Password

Simply use the “cxpwd” Java program provided with D.SIDE to obtain the encrypted string to pass to D.SIDE for automatic connection. The only value required by this program is the original, unencrypted password:

After validation, the encrypted password will be generated and can be passed in the launch command with the “-connect” option: