ic = new InitialContext(ServerManagement.getJNDIEnvironment());
// install our own security manager
configurableSecurityManager = new ConfigurableSecurityManager();
oldSM = System.getSecurityManager();
System.setSecurityManager(configurableSecurityManager);
log.info("SecurityManager is now " + System.getSecurityManager());