Cannot encrypt password in configuration file

前端 未结 3 823
礼貌的吻别
礼貌的吻别 2021-01-02 23:49

I\'m having trouble encrypting the database password in hibernate.cfg.xml

This is my property file.



        
3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-03 00:40

    http://www.jasypt.org/hibernate.html

    Why not switch algorithms to: PBEWithMD5AndTripleDES

    Take a look at this post on StackOverflow: Error implementing Jasypt with Hibernate 3 and Struts 2

提交回复
热议问题