Hello DK- Yes, reconfiguring JMX to use JAAS would be the approach to use encrypted passwords.
I plan on converting the Apache distribution to use JAAS for JMX by default in an upcoming release. For now, you’ll need to convert it yourself. Related JIRA: https://issues.apache.org/jira/browse/AMQ-8391 Thanks, Matt Pavlovich > On May 2, 2023, at 1:44 AM, Dnyaneshwar Kulkarni > <dnyaneshwar.kulkar...@gmail.com> wrote: > > Hi Team, > > We have enabled the JMX support in our application for activemq. In > actimmq.sql file we have added the Managmentcontext with create connection > as "true". We have provided the path for jmx.access file jmx password file > for the security. As these files are having plain text data we want to to > use encrypted data. > > To provide the custom login to support encryption i tried to add JAAS, but > seems like with MBean server it is not working. > > Is there way by which I can achieve this? > > Thanks in advance. > > Regards, > DK