else if (connectionType == "JMXMP_PLAIN")
{
_securityMechanism = MECH_PLAIN;
Security.addProvider(new SaslProvider());
CallbackHandler handler = new UserPasswordCallbackHandler(getManagedServer().getUser(), getManagedServer().getPassword());
_env.put("jmx.remote.profiles", SASL_PLAIN);
_env.put("jmx.remote.sasl.callback.handler", handler);
}
else
{