BAEL-542 use defaults
This commit is contained in:
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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user