1 Reply Latest reply on Dec 1, 2011 7:42 AM by wdfink

    JMS access control in AS7

    el_paso

      Hi,

       

      Is it possible to use access control for JMS queues and topics? For example I have a JBoss 7 server and I don't want to allow unauthenticated connections to my queues and topics from outside. If this is possible, how/where can I set it?

        • 1. Re: JMS access control in AS7
          wdfink

          Does https://docs.jboss.org/author/display/AS7/Admin+Guide#AdminGuide-Messaging answer your questions?

          See the 'Security settings'.

          I think you need to change the role 'guest' of thist section in AS7:

           

          <subsystem>

            <hornetq-server>

              <security-settings>

                <security-setting match="#">

                  <permission type="send" roles="guest"/>

                  <permission type="consume" roles="guest"/>

                  <permission type="createNonDurableQueue" roles="guest"/>

                  <permission type="deleteNonDurableQueue" roles="guest"/>

                </security-setting>

                 </security-settings>

            ...