Hi, Tomcat exposes a good wealth of information about its internals via JMX. You can see data source, connector usage, thread pools, you name it.
However, it also exposes the password of the JDBC datasource (Catalina->DataSource->javax.sql.DataSource->...). Is there any way to hide this information from being published ?
We've found a way to manage the exposed JMX information via modifying the mbeans-descriptors.xml files contained within the jar files of the Tomcat distribution, however, we're looking for a way to do this without modifying the distribution.
So, how can we hide the password field of a JDBC connection in Tomcat exposed JMX beans ?
Regards, Bulent Erdemir