setAttribute("enabled", true);
addChild(Util.getValuedConfiguration("port", "" + m_remoteManagerListenerPort));
if (m_connectionLimit != null) addChild(Util.getValuedConfiguration("connectionLimit", "" + m_connectionLimit.intValue()));
DefaultConfiguration handlerConfig = new DefaultConfiguration("handler");
handlerConfig.addChild(Util.getValuedConfiguration("helloName", "myMailServer"));
handlerConfig.addChild(Util.getValuedConfiguration("connectiontimeout", "360000"));
DefaultConfiguration adminAccounts = new DefaultConfiguration("administrator_accounts");
DefaultConfiguration account = new DefaultConfiguration("account");
account.setAttribute("login", m_loginName);
account.setAttribute("password", m_loginPassword);
adminAccounts.addChild(account);
handlerConfig.addChild(adminAccounts);
// handlerConfig.addChild(Util.getValuedConfiguration("prompt", ">"));
handlerConfig.addChild(Util.createRemoteManagerHandlerChainConfiguration());
addChild(handlerConfig);