5 Replies Latest reply on Feb 27, 2015 11:04 AM by jbosspadawa jbosspadawa

    Encrypting HornetQ pooled-connection credentials

    jbosspadawa jbosspadawa Newbie

      I have the following pooled connection factory configured in hornetq within a wildfly profile. Remote JMS connections work great. I need to find a way to encrypt the password so it is not in plain text. I have successfully encrypted passwords on data sources by using picketbox with security domains. is there a similar way to accomplish this in the hornetq configuration within a wildfly profile? I will also need to do this for the hornetq cluster user and password

       

       

        <pooled-connection-factory name="hornetq-ra">

                                  <transaction mode="xa"/>

                                  <user>superuser</user>

                                  <password>overlycomplicatedpassword</password>

                                  <connectors>

                                      <connector-ref connector-name="remote-connectio-to-q-1"/>

                                  </connectors>

                                  <entries>

                                      <entry name="java:/JmsXA"/>

                                      <entry name="java:jboss/DefaultJMSConnectionFactory"/>

                                  </entries>

                                  <ha>true</ha>

        </pooled-connection-factory>

      Thanks for you help