selenium - Java password encryption -


we have maven project website automation . website uses login , password enter first page . possible have below.

  1. passcord encrpted in format in property file if downloads entire maven project not visible in plain txt .
  2. 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

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -