Re: ActiveMq Encypted Passwords

2014-04-03 Thread Tom Keeber
OK I've solved this problem. 

It was due to one of the following characters in my password. '#' '!' ';'
that I was encrypting. 

Changing the encrypted password to 'password' solved the issue. 

So I'm presuming the password isn't base 64 encoded before being encrypted. 





--
View this message in context: 
http://activemq.2283324.n4.nabble.com/ActiveMq-Encypted-Passwords-tp4679811p4680004.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


ActiveMq Encypted Passwords

2014-04-01 Thread Tom Keeber
Hello,

I'm having a problem getting the property replacement to work when setting
up the encrypted passwords to access my data source. 
I've been following the instructions here;
http://activemq.apache.org/encrypted-passwords.html

Maybe my understanding of this is not correct, but I was expecting to see
the ${jdbc.password} property replaced in my activemq config after activemq
is started. This is not happening. 

Should i expect this? Or should the config file always show
${jdbc.password}?

My activemq config is below. As well as my credentials-enc.properties file. 

http://www.springframework.org/schema/beans";
xmlns:amq="http://activemq.apache.org/schema/core";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://activemq.apache.org/schema/core
http://activemq.apache.org/schema/core/activemq-core.xsd";>

  
  


  

  

  

  


  

  
  






  

  

 
  

  

  

  
  

  



  


  




credentials-enc.properties

jdbc.password=ENC(jkosfdjkpA==)



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/ActiveMq-Encypted-Passwords-tp4679811.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.