activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r992975 - /activemq/trunk/assembly/src/sample-conf/activemq-security.xml
Date Mon, 06 Sep 2010 09:00:56 GMT
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">
 



Mime
View raw message