[jboss-user] [JBoss Messaging] - Re: how to prevent others to deploy queue using MBeanServerC

jmesnil do-not-reply at jboss.com
Wed Apr 9 10:39:24 EDT 2008


"subrata_jboss" wrote : my problem is i have following program which others can write and deploy a queue in my machine ...
  | 
  | public static void deployQueue(String queueName,InitialContext ic) throws Exception {
  | ...
  | }
  | 
  | How can i configure it so that others can not deploy the queue ??

Why don't you decrease the visibility of the deployQueue() method so that it can not be called by anybody but you?

It seems the issue is more related to your API than to JBoss Messaging deployment...

hope it helps,
jeff




View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4142774#4142774

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4142774



More information about the jboss-user mailing list