hi,

how to add/change security roles on dynamicaly created
JMS queues ?

I am creating a JMS queue using the jmx-console but
when I try to send a message, I get an exception :

13:46:56,541 WARN  [OILServerILService] Client request
resulted in a server exception:
javax.jms.JMSSecurityException: Connection not
autorized to addMessages to destination: 4731602      
 at
org.jboss.mq.security.ServerSecurityInterceptor.addMessage(ServerSecurityInterceptor.java:160)
   at
org.jboss.mq.server.TracingInterceptor.addMessage(TracingInterceptor.java:270)
       at
org.jboss.mq.server.JMSServerInvoker.addMessage(JMSServerInvoker.java:136)
       at
org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:253)
    at java.lang.Thread.run(Thread.java:479)

I specify a username/password when I create the
QueueConnection.
The username/password/role definition exists in the
jbossms-state.xml

I just need to assign read/write authorization to the
roles via the jmx-console.

Thanks,
ionel

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to