The user you login as (configured in jbossmq-state.xml)
must be in a role that has "create" authority on the topic.

Regards,
Adrian

On Thu, 2003-08-28 at 17:28, Aurele Vrata Venet wrote:
> Hello,
> 
> just started on JBoss 3.2.1.  I have succesfully configured it for just 
> the JMS/JNDI service.  I am able to lookup the testTopic that comes 
> preconfigured.  I can publish/subsribe to the topic with a standard 
> Subscriber.  However, if I try to createDurableSubcriber(durableTopic, 
> name), in order to register a durable subscriber, I get the following 
> exception:
> 
> javax.jms.JMSSecurityException: Connection not authorized to do durable 
> subscription on topic: testDurableTopic
> 
> I gather that it has to do with the user/role configuration set up with 
> the topic, from the jms-destination-service.xml file:
> 
> <mbean code="org.jboss.mq.server.jmx.Topic"
>      name="jboss.mq.destination:service=Topic,name=testDurableTopic">
>     <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>
> 
> Searched the archive + doc on this one, but came up empty handed.  
> Anyone could point me in the right direction, it would be very much 
> appreciated.
> 
> many thanks
> 
> Vrata



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to