<< Click to Display Table of Contents >>

Encrypt user ID and password

OZ Server provides a function to convert the user ID and password to access the DB server and SAP into an encrypted string.


OZ Java Server

Use the ozencrypted.bat file on the Java server.

User ID of DB server

Encrypt the value of the user entered in the db.properties file and save it back to the db.properties file. Set the db.properties file path to an absolute path.

ozencrypted.bat DBAlias user UserID db.propertiesFilePath

User password of DB server

Encrypt the value of the password entered in the db.properties file and save it back to the db.properties file. Set the db.properties file path to an absolute path.

ozencrypted.bat DBAlias password UserPassword db.propertiesFilePath

User ID of SAP

Encrypt the value of user value entered in the db.properties file and display it in the command window.

ozencrypted.bat SAPAlias user UserID

User password of SAP

Encrypt the value of password value entered in the db.properties file and display it in the command window.

ozencrypted.bat SAPAlias password UserPassword


OZ .NET Server

Use the OZEncryptor.exe file on the .NET server.

User ID

Run the OZEncryptor.exe file. Enter the command as DBAlias/SAPAlias.user=UserID in the text box. Clicking the Encrypt button will copy the encrypted user ID to the clipboard.

User password

Run the OZEncryptor.exe file. Enter the command as DBAlias/SAPAlias.password=UserPassword in the text box. Clicking the Encrypt button will copy the encrypted password to the clipboard.