How to encrypt passwords in the build.xml ant junit task in devtest
book
Article ID: 108160
calendar_today
Updated On:
Products
CA Application TestService VirtualizationCA Continuous Application Insight (PathFinder)CA Service Virtualization (DevTest / LISA / VSE / Application Test)
Issue/Introduction
Is there a way to use encrypted password values in the build.xml when Devtest tests are executed via junit ant task?
Environment
Release: Component: ITKOTF
Resolution
To encrypt password, In the local.properties files where junitlisa is to be run, add the following two properties lisa.ant.junit.user and lisa.ant.junit.password thus lisa.ant.junit.user=<User_name> lisa.ant.junit.password=<Password>
The password will be encrypted upon first use. Then, in the build.xml, modify the user and password values with user="lisa.ant.junit.user" and password="lisa.ant.junit.password_enc"