context.setContextPath(contextName);
// bind the jetty http handler with the context handler
if (isSessionSupport) {
// If we have sessions, we need two handlers.
if (sessionManager == null) {
sessionManager = new HashSessionManager();
HashSessionIdManager idManager = new HashSessionIdManager();
sessionManager.setSessionIdManager(idManager);
}
SessionHandler sessionHandler = new SessionHandler(sessionManager);
if (securityHandler != null) {