This is my config: (activemq.xml) * <plugins> <simpleAuthenticationPlugin> <users> <authenticationUser username="admin" password="${admin.password}" groups="admins,publishers,consumers"/> <authenticationUser username="publish" password="${publish.password}" groups="publishers"/> <authenticationUser username="consume" password="${consume.password}" groups="consumers"/> </users> </simpleAuthenticationPlugin> </plugins>*
In my credentials-enc.properties, I have the following: * admin.password=ENC(poLn7+4Q4huiuGb6xCI2hg==)) publish.password=ENC(mYRkg+4Q4hua1kvpCCI2hg==) consume.password=ENC(tYun7+4yuEhua1kvpCCI2hg=+)* Again, in my activemq.xml, I have the following defined: *<bean id="environmentVariablesConfiguration" class="org.jasypt.encryption.pbe.config.EnvironmentStringPBEConfig"> <property name="algorithm" value="PBEWithMD5AndDES" /> <property name="passwordEnvName" value="ACTIVEMQ_ENCRYPTION_PASSWORD" /> </bean> <bean id="configurationEncryptor" class="org.jasypt.encryption.pbe.StandardPBEStringEncryptor"> <property name="config" ref="environmentVariablesConfiguration" /> </bean> <bean id="propertyConfigurer" class="org.jasypt.spring.properties.EncryptablePropertyPlaceholderConfigurer"> <constructor-arg ref="configurationEncryptor" /> <property name="location" value="file:${activemq.conf}/credentials-enc.properties"/> </bean>* -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-Authentication-tp4655478p4655488.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.