securityHandler = new JettySecurityHandler(authenticator, realm, policyContextID, defaultSubject);
}
ServletHandler servletHandler = new ServletHandler();
webAppContext = new TwistyWebAppContext(securityHandler, sessionHandler, servletHandler, null);
//See Jetty-386. Setting this to true can expose secured content.
webAppContext.setCompactPath(compactPath);
//wrap the web app context with the jndi handler
GeronimoUserTransaction userTransaction = new GeronimoUserTransaction(transactionManager);