1 package org.imageconverter.config.security;
2
3 import javax.servlet.ServletContext;
4
5 import org.springframework.security.web.context.AbstractSecurityWebApplicationInitializer;
6 import org.springframework.web.multipart.support.MultipartFilter;
7
8
9
10
11
12
13 public class SecurityApplicationInitializer extends AbstractSecurityWebApplicationInitializer {
14
15
16
17
18 @Override
19 protected void beforeSpringSecurityFilterChain(final ServletContext servletContext) {
20 insertFilters(servletContext, new MultipartFilter());
21 }
22 }