use of org.directwebremoting.servlet.DwrServlet in project libresonic by Libresonic.
the class Application method dwrServletRegistrationBean.
/**
* Registers the DWR servlet.
*
* @return a registration bean.
*/
@Bean
public ServletRegistrationBean dwrServletRegistrationBean() {
ServletRegistrationBean servlet = new ServletRegistrationBean(new DwrServlet(), "/dwr/*");
servlet.addInitParameter("crossDomainSessionSecurity", "false");
return servlet;
}
Aggregations