You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by "ヤ艾枫o.--" <11...@qq.com> on 2021/03/26 12:48:02 UTC

create user in activemq 5.15.9

hello:
&nbsp;i have a question in using activemq 5.15.9. when i want to create a new user to connct the service ,
&nbsp;i find there is a way which need to edit the activemq.xml configuration,and i feel this way is not&nbsp;convenient&nbsp;
&nbsp;i want to know wheather there is other way to create user , for example ,use ActiveMQ Command line&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; thanks

Re: create user in activemq 5.15.9

Posted by Matt Pavlovich <ma...@gmail.com>.
Hello-

ActiveMQ supports a number of different ways to authenticate users, so there is not one command line tool to support all the combinations. If you are using the users.properties or credentials.properties approach, you can simply append new users to those text files.

For authorization, the RuntimeConfigurationPluing supports dynamic reloading of authorization entries, so modifications to authorizations can be added to the conf/activemq.xml file without a restart.

Thanks,
Matt Pavlovich

> On Mar 26, 2021, at 7:48 AM, ヤ艾枫o.-- <11...@qq.com> wrote:
> 
> hello:
> &nbsp;i have a question in using activemq 5.15.9. when i want to create a new user to connct the service ,
> &nbsp;i find there is a way which need to edit the activemq.xml configuration,and i feel this way is not&nbsp;convenient&nbsp;
> &nbsp;i want to know wheather there is other way to create user , for example ,use ActiveMQ Command line&nbsp;
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; thanks