}
if (mapping.endsWith("/")) {
mapping = mapping.substring(0, mapping.length() - 1);
}
final SironaController controller = new SironaController();
controller.setMapping(mapping);
ctx.addFilter("sirona-reporting", controller).addMappingForUrlPatterns(EnumSet.allOf(DispatcherType.class), true, mapping + "/*");
}