ServletHolder accelServletHolder = new ServletHolder(new HtmlAccelServlet());
context.addServlet(accelServletHolder, ACCEL_BASE);
context.addFilter(AuthenticationServletFilter.class, ACCEL_BASE, 0);
// Attach the make-request servlet
ServletHolder makeRequestHolder = new ServletHolder(new MakeRequestServlet());
context.addServlet(makeRequestHolder, MAKEREQUEST_BASE);
context.addFilter(AuthenticationServletFilter.class, MAKEREQUEST_BASE, 0);
// Attach the gadgets rpc servlet
ServletHolder gadgetsRpcServletHolder = new ServletHolder(new JsonRpcServlet());