tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Dale <jcdw...@gmail.com>
Subject Re: Jmx example for adding or removing users?
Date Fri, 10 May 2019 03:53:44 GMT
You're missing database driven roles based user authentication and
authorization.  :)

I commend you, sir, for attempting the tomcat default user management
save button!

On 5/9/19, Alex O'Ree <alexoree@apache.org> wrote:
> Well less than perfect. Tomcat out of the box is setup with the users xml
> file. What's exposed as mbeans is the
> "org.apache.catalina.mbeans.MemoryUserDatabaseMBean".
> I can add uses to it via mbean, however calling the "save" method does not
> update the tomcat-users.xml file. Am i missing something?
>
> On Fri, Apr 26, 2019 at 7:14 PM Alex O'Ree <alexoree@apache.org> wrote:
>
>> Ahh perfect, thanks.
>>
>> On Fri, Apr 26, 2019 at 12:34 PM Mark Thomas <markt@apache.org> wrote:
>>
>>> On 26/04/2019 12:11, Alex O'Ree wrote:
>>> > I am looking for a way to programmatically add or remove user accounts
>>> > using tomcats user xml file as a store without restarting tomcat. Can
>>> this
>>> > be done using jmx?
>>> >
>>>
>>> Yes. Look under Users -> UserDatabase
>>>
>>> Mark
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message