serverPeer.setDefaultSecurityConfig(toElement(defaultSecurityConfig));
serverPeer.setDefaultSecurityConfig(ServerManagement.toElement(defaultSecurityConfig));
   public synchronized void start(String containerConfig) throws Exception   {      if (isStarted())      {         return;      }      log.debug("starting service container");      sc = new ServiceContainer(containerConfig, null);      sc.start();      log.debug("starting JMS server");      serverPeer = new ServerPeer("ServerPeer0");      serverPeer.setSecurityDomain(MockJBossSecurityManager.TEST_SECURITY_DOMAIN);      final String defaultSecurityConfig =         "<security><role name=\"guest\" read=\"true\" write=\"true\" create=\"true\"/></security>";      serverPeer.setDefaultSecurityConfig(toElement(defaultSecurityConfig));      serverPeer.start();      log.info("server started");   }