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.
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21700056