IBM Support

Ability to use encrypted password in csapi function.

Troubleshooting


Problem

Currently it is required to provide a clear text password in Perl scripts login API.

Resolving The Problem

Solution to this problem is available in 5.3.1.1 iFix 003 (http://www.ibm.com/support/docview.wss?uid=swg24038503). A new executable jar ‘passwordmanager.jar’ is added to ‘Rational Change’ lib directory which is used to encrypt clear text password. Command to encrypt the clear text password is.

“<SYNERGY_HOME>/jre/bin/java -jar <CHANGE_APP_HOME>/WEB-INF/lib/passwordmanager.jar <clear_text_password> “

The command prints the encrypted password in the console and this encrypted password can be used in Perl 'Login' API and it is required to pass additional parameter 'true' to existing 'Login' API if the password used is encrypted.

my $aUser = $csapi->Login($userName, $encryptedPassWord, $role, $database, "true");

* The command to generate the encrypted password must be executed on the Change server that will be accessed by the Perl API script. Because the encrypted password depends on the hostname where the Change server is installed.



* That means also that using the encrypted password in the Login function will only work with Change servers installed on the same machine.

[{"Product":{"code":"SSYQQ2","label":"Rational Change"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"General Information","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"5.3.1.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 June 2018

UID

swg21700056