BAEL-542 use defaults
This commit is contained in:
parent
4bac6e0571
commit
25111c5b89
@ -14,10 +14,7 @@ public class SpringSecurityConfig extends WebSecurityConfigurerAdapter {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void configure(HttpSecurity http) throws Exception {
|
protected void configure(HttpSecurity http) throws Exception {
|
||||||
http
|
http.headers()
|
||||||
.authorizeRequests()
|
|
||||||
.anyRequest().permitAll()
|
|
||||||
.and().headers()
|
|
||||||
.defaultsDisabled()
|
.defaultsDisabled()
|
||||||
.cacheControl();
|
.cacheControl();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user