protected boolean clientAuth = true;
protected boolean authenticate = true;
protected String passwordFile = null;
+ protected String loginModuleName = null;
protected String accessFile = null;
protected boolean useLocalPorts = false;
accessFile = System.getProperty(
"com.sun.management.jmxremote.access.file",
"jmxremote.access");
+
+ loginModuleName = System.getProperty(
+ "com.sun.management.jmxremote.login.config");
}
if (authenticate) {
env.put("jmx.remote.x.password.file", passwordFile);
env.put("jmx.remote.x.access.file", accessFile);
+ env.put("jmx.remote.x.login.config", loginModuleName);
}
e.g. on authentication. (markt)
</add>
<add>
+ <bug>51119</bug>: Add JAAS authentication support to the
+ JMXRemoteLifecycleListener. Patch provided by Neil Laurance. (markt)
+ </add>
+ <add>
<bug>51136</bug>: Provide methods that enable the name of a Context on
Context creation when using Tomcat in an embedded scenario. Based on a
patch provided by David Calavera. (markt)