mirror of https://github.com/apache/activemq.git
https://issues.apache.org/activemq/browse/AMQ-2460 - minor configuration tweak
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@992975 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8ef1d794f7
commit
97708f9f8e
|
@ -21,10 +21,12 @@
|
|||
|
||||
http://activemq.apache.org/security.html
|
||||
|
||||
Beofre you can run this configuration, you need to set ACTIVEMQ_ENCRYPTION_PASSWORD environment variable, like
|
||||
Before you can run this configuration, you need to set ACTIVEMQ_ENCRYPTION_PASSWORD environment variable, like
|
||||
|
||||
$ export ACTIVEMQ_ENCRYPTION_PASSWORD=activemq
|
||||
|
||||
For more information see: http://activemq.apache.org/encrypted-passwords.html
|
||||
|
||||
To run ActiveMQ with this configuration add xbean:conf/activemq-security.xml to your command
|
||||
|
||||
e.g. $ bin/activemq console xbean:conf/activemq-security.xml
|
||||
|
@ -51,6 +53,16 @@
|
|||
<property name="location" value="file:${activemq.base}/conf/credentials-enc.properties"/>
|
||||
</bean>
|
||||
|
||||
<!--
|
||||
Use this configuration if you don't want to set encryptor password using environment variable
|
||||
Note however, that with this solution your passwords can be easily decrypted once the encrypter password is known
|
||||
|
||||
<bean id="configurationEncryptor" class="org.jasypt.encryption.pbe.StandardPBEStringEncryptor">
|
||||
<property name="algorithm" value="PBEWithMD5AndDES"/>
|
||||
<property name="password" value="activemq"/>
|
||||
</bean>
|
||||
-->
|
||||
|
||||
<broker useJmx="true" persistent="false" xmlns="http://activemq.apache.org/schema/core" destroyApplicationContextOnStop="true">
|
||||
|
||||
<plugins>
|
||||
|
|
Loading…
Reference in New Issue