Commit 6a2d73eb authored by Piotr Gawron's avatar Piotr Gawron
Browse files

XFrameFilter is not necessary in spring security config (it's global)

parent f0c47f5b
Pipeline #11864 failed with stage
in 9 minutes and 53 seconds
......@@ -88,7 +88,6 @@ public class SpringSecurityConfig extends WebSecurityConfigurerAdapter {
.and()
.cors().disable() // is managed by CORSFilter
.csrf().disable()
.addFilterAfter(new XFrameFilter(), BasicAuthenticationFilter.class)
.addFilterAfter(new CacheFilter(), BasicAuthenticationFilter.class)
.addFilterAfter(new CORSFilter(), BasicAuthenticationFilter.class);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment