Re: encrypt database password in broker-config.xml

2009-11-10 Thread au.pg
Hi, I just want to share how we can encrypt database password in broker-config.xml using jasypt. 1) Add spring name space xmlns:spring="http://www.springframework.org/schema/beans"; 2) define below two beans 3) you can see that password declared in activemq-pwd.

Re: encrypt database password in broker-config.xml

2009-10-22 Thread Dejan Bosanac
Hi Guys, great stuff. I created a Jira issue ( https://issues.apache.org/activemq/browse/AMQ-2460) to integrate jasypt with ActiveMQ by default Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/

Re: encrypt database password in broker-config.xml

2009-10-21 Thread au.pg
Hi Serge, This is Awesome. This is what we finally figured out and doing using jasypt. I greatly appreciate your reply. Great Post! Thanks, PG -- View this message in context: http://www.nabble.com/encrypt-database-password-in-broker-config.xml-tp25966501p26002811.html Sent from the ActiveM

Re: encrypt database password in broker-config.xml

2009-10-21 Thread Serge Merzliakov
I created a custom encryptor class allowing encrypted passwords to be stored in credentials.properties (but this could be adapted to any Spring configuration file. The encryptor decrypts passwords on app context initialization and stores plaintext versions in memory. My activemq.xml (5.2) looks l

Re: encrypt database password in broker-config.xml

2009-10-19 Thread Rob Davies
On 19 Oct 2009, at 23:03, au.pg wrote: Hi, I want to store encrypted database password in broker-config.xml file? Is there a way that activemq correctly decrypts while connecting to database. Thanks, PG -- View this message in context: http://www.nabble.com/encrypt-database-password-in