Commits

Anonymous committed 9aa3d0a

Add sessionHandler to embedded jetty

  • Participants
  • Parent commits cbe6b13
  • Branches debian

Comments (0)

Files changed (1)

server/api/src/main/java/org/walli/Walli.java

 
         Server server = new Server(getPort());
 
-        ServletContextHandler handler = new ServletContextHandler(server, "/");
-
+        ServletContextHandler handler = new ServletContextHandler(server, "/", ServletContextHandler.SESSIONS);
         handler.addEventListener(new GuiceListener());
 
         handler.addFilter(GuiceFilter.class, "/*", null);