response.sendError(503 ,"JMX is not enabled, unable to use cipango console. Please start Cipango with:\n" +
"\tjava -jar start.jar --ini=start-cipango.ini --pre=etc/cipango-jmx.xml");
return;
}
Principal principal = request.getUserPrincipal();
if (principal != null && !principal.equals(request.getSession().getAttribute(Principal.class.getName())))
{
_logger.info("User " + principal.getName() + " has logged in console");
request.getSession().setAttribute(Principal.class.getName(), principal);
}
Menu menuPrinter = getMenuFactory().getMenu(command, request.getContextPath());
try