LDAPConnectionHandlerCfgClient client = root.createConnectionHandler(
LDAPConnectionHandlerCfgDefn.getInstance(),
TEST_CONNECTION_HANDLER_NAME, null);
client.setEnabled(enabled);
client.setListenPort(freePort);
client.commit();
}
// Deletes the test connection handler after testing.