You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by 이듀이 <de...@gmail.com> on 2015/10/20 04:22:36 UTC

How Can I use user' password in etc/user.properties

Dear Users


I want to use user password in "etc/user.porperties"


I use service 5.4.x

I has been setting username/password at ActiveMQ
and I made custom.properties "activemquser.properties"
and added that at "${mandatory_includes}" properties




1) config.properties

####
${mandatory_includes} = jre.properties activemquser.properties
####

2)
activemquser.properties
####
activemq.jms.url=tcp://${activemq.host}:${activemq.port}
activemq.jms.username=test
#activemq.jms.username=test123
activemq.jms.password= {CRYPT}e971f64ed31e5a79642............
e5eeb1ff75f38d2636f473d{CRYPT}
###



It's exactly working.

but When I change user' password
I must copy encrypted password that file

I want to use another method instead of to copy encrypted passwd every time.

How Can I use it?


Thank for your answer.