Closed
Description
Given that and()
is stated for removal, does it mean that in the future, I cannot chain the HttpSecurity
?
// not possible
@Bean
public SecurityFilterChain docsFilterChain(HttpSecurity http) throws Exception {
return http
.apply(CustomDSL.customDSL()) //.and() deprecated
.build();
}
// good to go
@Bean
public SecurityFilterChain docsFilterChain(HttpSecurity http) throws Exception {
http
.apply(CustomDSL.customDSL());
return http.build();
}