2 Replies Latest reply on Oct 15, 2001 4:48 PM by araiti

    Creating new users

    sarang_kulkarni

      I had a question regarding creating new users. I understood from the provided examples that we can create a new topic by invoking this:

      // Invoke the MBean
      server.invoke(new ObjectName("JMS", "service", "JMSServer"),
      "newTopic",
      new Object[] { destName },
      new String[] { "java.lang.String" });

      How do we similarly create new users? We want to use this "admin" kind of API so that the admin of the JMS sever can add new users. I looked at the code in the interface org.jbossmq.server.JMSServerMBean.java. I did not see any way to create new users.

      In general, we would like to know how to:
      1. Add new users programatically
      2. Add new users through any GUI provided by JBOSS

        • 1. Re: Creating new users
          hchirino

          These would be new features.. If you are interested in implementing them let me know and I get you started in the right direction.

          • 2. Re: Creating new users
            araiti

            I am also trying to dynamically add users so that I can create a durable subscriber for a given topic. I do not see any solution, but to add the user and then restart the JMSServer. If there is a work around, I would be very interested in that solution.