BAEL-542 use defaults

This commit is contained in:
Tomasz Lelek
2017-02-04 23:50:47 +00:00
committed by Andrew Morgan
parent 4bac6e0571
commit 25111c5b89
@@ -14,10 +14,7 @@ public class SpringSecurityConfig extends WebSecurityConfigurerAdapter {
@Override
protected void configure(HttpSecurity http) throws Exception {
http
.authorizeRequests()
.anyRequest().permitAll()
.and().headers()
http.headers()
.defaultsDisabled()
.cacheControl();
}