selenium - Java password encryption -
we have maven project website automation . website uses login , password enter first page . possible have below.
- passcord encrpted in format in property file if downloads entire maven project not visible in plain txt .
- selenium takes encrpted password property file , decrypts , enters website .
you can use jasypt cli (command line) utility can used encrypt values of properties. download jasypt distribution , unpack it. utilities reside in bin directory.
c:\jasypt-1.7\bin> encrypt input=postgres password=secret ----arguments------------------- input: postgres password: secret ----output---------------------- jd5zrepbqxun9ok0ihnxabgw7v3eog2p
for detailed steps , do/don'ts can refer this page , this page
Comments
Post a Comment