You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by mtod <mt...@thetods.net> on 2017/05/30 18:14:19 UTC

Users.properties & groups not updating when removing of a user

I have an ActiveMQ 5.14.5 running on Windows I have a login.config setup as
listed below:

activemq-domain {
    org.apache.activemq.jaas.PropertiesLoginModule required
        org.apache.activemq.jaas.properties.user="users.properties"
        org.apache.activemq.jaas.properties.group="groups.properties"
	reload=true;
};

I updated the activemq.xml with the following:

<jaasAuthenticationPlugin configuration="activemq-domain" />

When I add a user to the users.properties and group.properties it seems to
work fine.
It reloads and the user starts working but when I try to remove that same
user it does not seem to reload the file updates. 
The user just continues to have the ability to send messages.

I would like the ability to update the file both for new accounts and to
remove old ones with out having to restart ActiveMQ.

Anyone have any experience with this option?

Thanks

Mike





--
View this message in context: http://activemq.2283324.n4.nabble.com/Users-properties-groups-not-updating-when-removing-of-a-user-tp4726738.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Users.properties & groups not updating when removing of a user

Posted by Tim Bain <tb...@alumni.duke.edu>.
I don't have any experience with it, but doesn't seem it would be too hard
to add that feature, so you could add an enhancement request in JIRA for it
if you wanted.

Tim

On May 30, 2017 12:29 PM, "mtod" <mt...@thetods.net> wrote:

> I have an ActiveMQ 5.14.5 running on Windows I have a login.config setup as
> listed below:
>
> activemq-domain {
>     org.apache.activemq.jaas.PropertiesLoginModule required
>         org.apache.activemq.jaas.properties.user="users.properties"
>         org.apache.activemq.jaas.properties.group="groups.properties"
>         reload=true;
> };
>
> I updated the activemq.xml with the following:
>
> <jaasAuthenticationPlugin configuration="activemq-domain" />
>
> When I add a user to the users.properties and group.properties it seems to
> work fine.
> It reloads and the user starts working but when I try to remove that same
> user it does not seem to reload the file updates.
> The user just continues to have the ability to send messages.
>
> I would like the ability to update the file both for new accounts and to
> remove old ones with out having to restart ActiveMQ.
>
> Anyone have any experience with this option?
>
> Thanks
>
> Mike
>
>
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.
> nabble.com/Users-properties-groups-not-updating-when-
> removing-of-a-user-tp4726738.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>