0 Replies Latest reply on Jan 21, 2010 1:26 PM by Clebert Suconic

    Deploying security with destinations...

    Clebert Suconic Master

      A lot of the Tests on the AS testsuite are doing this kind of deployment:



         <mbean code="org.jboss.jms.server.destination.TopicService"
            <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
            <attribute name="SecurityConfig">
                  <role name="guest" read="true" write="true"/>
                  <role name="publisher" read="true" write="true" create="false"/>
                  <role name="durpublisher" read="true" write="true" create="true"/>



      And validating if the security is being respected.


      All this is being deployed using the JBoss Test's deployer method.


      On HornetQ, this could be either done at configuration, or by changing the Security objects directly, but the client test won't have access to the configuration.


      I will change the tests in a way the security is pre-configured on the tested server. But I'm not planning to change how security is configured for the integrated server.