It might be worth considering LDAP authentication rather than the simple
(file-based) authentication mechanism, since that would allow user changes
without restarting either ActiveMQ or your LDAP server. But of course then
you have to create and maintain an LDAP server, so you'll have to decide
whether that tradeoff is better or worse than having to restart ActiveMQ.

Tim

On Fri, Jun 18, 2021, 6:19 AM Jean-Baptiste Onofre <j...@nanthrax.net> wrote:

> If you change (adding/removing a plugin) it works, but not if you change
> users.properties or group.properties (nothing is monitoring these files).
>
> Regards
> JB
>
> > Le 18 juin 2021 à 11:19, ヤ艾枫o.-- <1169114...@qq.com.INVALID> a écrit :
> >
> > As a result of&nbsp;this
> configuration(<plugins&gt;<jaasAuthenticationPlugin&gt;) is not support
> automatically reload the broker, change users.properties and
> group.propertie art not effect?
> >
> >
> >
> >
> > ------------------&nbsp;原始邮件&nbsp;------------------
> > 发件人:
>                                                     "users"
>                                                                    <
> j...@nanthrax.net <mailto:j...@nanthrax.net>&gt;;
> > 发送时间:&nbsp;2021年6月18日(星期五) 中午11:27
> > 收件人:&nbsp;"users"<users@activemq.apache.org <mailto:
> users@activemq.apache.org>&gt;;
> >
> > 主题:&nbsp;Re: For all configurations of ActiveMQ 5. X, it will take
> effect only after the service is restarted?
> >
> >
> >
> > Hi,
> >
> > The runtime configuration plugin which automatically reload the broker
> only works with some configuration section:
> > - networkConnectors
> > - destinationPolicies
> > - plugins (including authorizationPlugin)
> > - destinationInterceptors
> >
> > users.properties and group.properties are not "monitored" by the runtime
> configuration plugin.
> > Actually, the login module is responsible to the loading/reloading
> (depending of the JAAS login module).
> >
> > Regards
> > JB
> >
> > &gt; Le 18 juin 2021 à 04:10, ヤ艾枫o.-- <1169114...@qq.com.INVALID&gt; a
> écrit :
> > &gt;
> > &gt; When I use jaas,I should to change activemq.xml
> (<plugins&amp;gt;<authorizationPlugin&amp;gt;<Map&amp;gt;<authorizationMQ&amp;gt;).
> > &gt; this change do not need to restart broker.
> > &gt; But, i hava to change user.properties and group.properties ,this
> change need to restart broker.
> > &gt; i want to know change user.properties and group.properties
> files&am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bsp;&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;
> <tb...@alumni.duke.edu&amp;gt;;
> > &gt; 发送时间:&amp;nbsp;2021年6月17日(星期四) 晚上7:38
> > &gt; 收件人:&amp;nbsp;"ActiveMQ Users"<users@activemq.apache.org&amp;gt;;
> > &gt;
> > &gt; 主题:&amp;nbsp;Re: For all configurations of ActiveMQ 5. X, it will
> take effect only after the service is restarted?
> > &gt;
> > &gt;
> > &gt;
> > &gt; At least some portions of the configuration can be reloaded without
> a
> > &gt; restart. https://activemq.apache.org/runtime-configuration <
> https://activemq.apache.org/runtime-configuration> has details
> > &gt; about what portions of the configuration support live configuration
> > &gt; reloading.
> > &gt;
> > &gt; If there's something that isn't supported that you think should be,
> you can
> > &gt; propose that support for it be added by submitting an enhancement
> request
> > &gt; in JIRA.
> > &gt;
> > &gt; Tim
> > &gt;
> > &gt; On Thu, Jun 17, 2021, 12:44 AM ヤ艾枫o.-- <1169114...@qq.com <mailto:
> 1169114...@qq.com>&amp;gt; wrote:
> > &gt;
> > &gt; &amp;gt; Hi
> > &gt; &amp;gt; When i use activemq,i hava to change some
> configuration,for example :add
> > &gt; &amp;gt; users, change transportConnector port.
> > &gt; &amp;gt; Complete the above modification in the activmq. XML file.I
> have to
> > &gt; &amp;gt; restarted the broker and this change can effect.
> > &gt; &amp;gt; Why in this way of design, It's troublesome to use this
> way,Can't you load
> > &gt; &amp;gt; the configuration file automatically, save the restart
> process?&amp;amp;nbsp;&amp;amp;nbsp;
>
>

Reply via email to