Using encoded password for the datasource used in spring applicationContext.xml
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 using property-placeholder as shown below but the raw password is still open in my database.properties springApplicationContext.xml <beans:bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"> <beans:property name="driverClassName"><beans:value>${db.driverClassName}</beans:value></beans:property> <beans:property name="url"><beans:value>${db.url}</beans:value></beans:property> <beans:property name=