for(Map.Entry<String,Object> entry : providers.entrySet()) {
environment.addProvider(entry.getValue());
}
//last, but not least, let's link Spring to the embedded Jetty in Dropwizard
environment.addServletListeners(new SpringContextLoaderListener(ctx));
//activate Spring Security filter
environment.addFilter(DelegatingFilterProxy.class,"/*").setName("springSecurityFilterChain");
}