Using encoded password for the datasource used in spring applicationContext.xml

后端 未结 5 1008
野性不改
野性不改 2021-01-31 18:53

I want to keep encoded password in my below mentioned springApplicationContext.xml

Is there any way to achieve this?

presently I have configured all properties

5条回答
  •  遇见更好的自我
    2021-01-31 19:25

    Create a wrapper class implementing the Datasource interface which delegates it's method calls to the underlying datasource but decrypts the password before doing so.

提交回复
热议问题