-
1. Re: How to disable the JMS security
wdfink Sep 27, 2012 2:45 AM (in response to xin.zhang.song)I suppose it is related to the security-setting of the messaging subsystem. Also you can add <security-enabled>false</security-enabled> to the hornetq-server element.
Also the security-realm of the remoting subsystem might come into play for the physical connection (you might remove it to unsecure).
You might have a look into the docs/schema/jboss-as-messaging*.xsd or you use the CLI interface to change the configuration, here you have tab-completition and help.
-
2. Re: How to disable the JMS security
jbertram Sep 27, 2012 10:23 AM (in response to xin.zhang.song)1 of 1 people found this helpfulThe first thing to realize here is that you're dealing with 2 different types of security. The first is security on the JNDI call, the second is security on the messaging subsystem (i.e. HornetQ). As Wolf mentioned, you can disable security on the messaging subsystem by setting:
<security-enabled>false</security-enabled>
If you want to disable security for JNDI then (as Wolf mentioned) you can to remove the security-realm from the "remoting-connector".
-
3. Re: How to disable the JMS security
xin.zhang.song Sep 27, 2012 10:24 PM (in response to xin.zhang.song)Thank you! the problem has been resolved