BAEL-542 use defaults

This commit is contained in:
Tomasz Lelek 2017-01-26 20:18:23 +01:00 committed by Andrew Morgan
parent 4bac6e0571
commit 25111c5b89

View File

@ -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();
}