Remove CORS filter from owner-webapp
<listener-class>org.springframework.security.web.session.HttpSessionEventPublisher</listener-class>
</listener>
- <!--context-param>
- <param-name>contextConfigLocation</param-name>
- <param-value>
- classpath:/spring/owner-webapp-jmsonly.xml
- classpath:/spring/owner-security.xml
- classpath:/spring/owner-context.xml
- classpath:/spring/owner-mailer.xml
- </param-value>
- </context-param-->
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
</param-value>
</context-param>
- <filter>
- <filter-name>CorsFilter</filter-name>
- <filter-class>org.apache.catalina.filters.CorsFilter</filter-class>
- <init-param>
- <param-name>cors.allowed.headers</param-name>
- <param-value>Content-Type,X-Requested-With,Content-Length,Connection,Cache-Control,Cookie,Host,Pragma,Referer,User-Agent,accept,Origin,
- Access-Control-Request-Method,Access-Control-Request-Headers</param-value>
- </init-param>
- <init-param>
- <param-name>cors.allowed.methods</param-name>
- <param-value>GET,POST,DELETE</param-value>
- </init-param>
- </filter>
- <filter-mapping>
- <filter-name>CorsFilter</filter-name>
- <url-pattern>/rest/*</url-pattern>
- </filter-mapping>
<filter>
<filter-name>springSecurityFilterChain</filter-name>
<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
