I am using Spring Boot 1.5.3.RELEASE with Vaadin 8.0.6. I am using Spring Security as well. I noticed that every time I upload a file using the Upload component, I get a Session Expired message. Is there a way to configure to avoid the expiry? I made this change but didn't help"
@Bean
MultipartConfigElement multipartConfigElement() {
MultipartConfigFactory factory = new MultipartConfigFactory();
factory.setMaxFileSize(10 * 1024 * 1024);
factory.setMaxRequestSize(10 * 1024 * 1024);
factory.setFileSizeThreshold(10 * 1024 * 1024);
return factory.createMultipartConfig();
}