I am trying to encrypt all the plain text keys and passwords in my J2EE application. I am trying to find out the best way to do so.
I understand that JASYPT has a very good library and utility for encrypting properties file,but doesn't seem to work in case of persistence.xml, which has all db usernames and passwords.
Following is the development stack:
- Spring MVC
- Spring
- Spring DATA JPA
- Hibernate
- MYSQL and POSTGRESS DB