Revision 50585
Added by Panagiotis Kanakakis about 6 years ago
web.xml | ||
---|---|---|
17 | 17 |
<param-name>log4jExposeWebAppRoot</param-name> |
18 | 18 |
<param-value>false</param-value> |
19 | 19 |
</context-param> |
20 |
<filter> |
|
21 |
<filter-name>springSecurityFilterChain</filter-name> |
|
22 |
<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class> |
|
23 |
</filter> |
|
24 |
<filter-mapping> |
|
25 |
<filter-name>springSecurityFilterChain</filter-name> |
|
26 |
<url-pattern>/*</url-pattern> |
|
27 |
</filter-mapping> |
|
28 | 20 |
<listener> |
29 | 21 |
<listener-class>org.springframework.web.util.Log4jConfigListener</listener-class> |
30 | 22 |
</listener> |
... | ... | |
41 | 33 |
</context-param> |
42 | 34 |
|
43 | 35 |
|
44 |
<filter> |
|
45 |
<filter-name>CorsFilter</filter-name> |
|
46 |
<filter-class>org.apache.catalina.filters.CorsFilter</filter-class> |
|
47 |
<init-param> |
|
48 |
<param-name>cors.allowed.origins</param-name> |
|
49 |
<param-value>*</param-value> |
|
50 |
</init-param> |
|
51 |
<init-param> |
|
52 |
<param-name>cors.allowed.headers</param-name> |
|
53 |
<param-value>Content-Type,X-Requested-With,accept,authorization,Origin,Access-Control-Request-Method,Access-Control-Request-Headers</param-value> |
|
54 |
</init-param> |
|
55 |
<init-param> |
|
56 |
<param-name>cors.allowed.methods</param-name> |
|
57 |
<param-value>GET, POST, PUT, DELETE, OPTIONS, HEAD</param-value> |
|
58 |
</init-param> |
|
59 |
</filter> |
|
36 |
<servlet> |
|
37 |
<servlet-name>spring</servlet-name> |
|
38 |
<servlet-class> |
|
39 |
org.springframework.web.servlet.DispatcherServlet |
|
40 |
</servlet-class> |
|
41 |
<load-on-startup>1</load-on-startup> |
|
42 |
</servlet> |
|
60 | 43 |
|
61 |
<filter-mapping>
|
|
62 |
<filter-name>CorsFilter</filter-name>
|
|
63 |
<url-pattern>/*</url-pattern>
|
|
64 |
</filter-mapping>
|
|
44 |
<servlet-mapping>
|
|
45 |
<servlet-name>spring</servlet-name>
|
|
46 |
<url-pattern>/</url-pattern> |
|
47 |
</servlet-mapping>
|
|
65 | 48 |
|
66 |
<filter> |
|
67 |
<filter-name>springSessionRepositoryFilter</filter-name> |
|
68 |
<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class> |
|
69 |
</filter> |
|
70 |
<filter-mapping> |
|
71 |
<filter-name>springSessionRepositoryFilter</filter-name> |
|
72 |
<url-pattern>/*</url-pattern> |
|
73 |
<dispatcher>REQUEST</dispatcher> |
|
74 |
<dispatcher>ERROR</dispatcher> |
|
75 |
</filter-mapping> |
|
76 |
|
|
77 | 49 |
</web-app> |
Also available in: Unified diff
1. Remove aai / redis changes. New branch will be created.