You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by de...@apache.org on 2010/09/06 11:00:56 UTC
svn commit: r992975 -
/activemq/trunk/assembly/src/sample-conf/activemq-security.xml
Author: dejanb
Date: Mon Sep 6 09:00:56 2010
New Revision: 992975
URL: http://svn.apache.org/viewvc?rev=992975&view=rev
Log:
https://issues.apache.org/activemq/browse/AMQ-2460 - minor configuration tweak
Modified:
activemq/trunk/assembly/src/sample-conf/activemq-security.xml
Modified: activemq/trunk/assembly/src/sample-conf/activemq-security.xml
URL: http://svn.apache.org/viewvc/activemq/trunk/assembly/src/sample-conf/activemq-security.xml?rev=992975&r1=992974&r2=992975&view=diff
==============================================================================
--- activemq/trunk/assembly/src/sample-conf/activemq-security.xml (original)
+++ activemq/trunk/assembly/src/sample-conf/activemq-security.xml Mon Sep 6 09:00:56 2010
@@ -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
@@ -50,6 +52,16 @@
<constructor-arg ref="configurationEncryptor" />
<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">