By now, I implement the authentication of apache activemq through the configuration file (activemq.xml) as this link shows: http://fusesource.com/docs/esb/4.3/amq_security/Auth-SimpleAuthentPlugin.html
But in this way, if I want to add more users, I have to change the configuration file and restart the server, which doesn’t make any sense in practical use.
So is there any way I can add users without restarting the server?
Thanks.
I used JAAS PropertiesLogin to solve this problem. I can change username and password and also group information in other files, thus gaining control of authentication. The server doesn’t need to be restarted to make changes work.