activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: ActiveMQ Authentication
Date Thu, 23 Aug 2012 15:25:34 GMT
This )) at the end of admin.password property look suspicious to me.
I'd start testing with values that comes with the distro and check if
the properties are OK.


Regards
-- 
Dejan Bosanac
Senior Software Engineer | FuseSource Corp.
dejanb@fusesource.com | fusesource.com
skype: dejan.bosanac | twitter: @dejanb
blog: http://www.nighttale.net
ActiveMQ in Action: http://www.manning.com/snyder/


On Thu, Aug 23, 2012 at 4:48 PM, joesan <codeintheopen@gmail.com> wrote:
> 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.

Mime
View raw message