1 Reply Latest reply on Mar 25, 2006 12:40 PM by Scott Stark

    confused by the configure of SecurityManager Topic.

    yuan yuan Newbie

      please see the following fragment in jbossmq-destinations-service.xml

      <mbean code="org.jboss.mq.server.jmx.Topic"
       name="jboss.mq.destination:service=Topic,name=testTopic2">
       <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
       <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
       <attribute name="SecurityConf">
       <security>
       <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"/>
       </security>
       </attribute>
       </mbean>
      

      the confusion is where the rolename "guest","publisher","durpublisher" are defined .and how they are mapped from the actual user .
      are there any other rolename defined.?
      when I use "session.createDurableSubscriber" , the role for rolename ?durpublisher" will take effect . why not "durablepub"? or other ,I really can't find where it is defined.
      thank you.