-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
in: configAn issue in spring-security-configAn issue in spring-security-configstatus: duplicateA duplicate of another issueA duplicate of another issuetype: enhancementA general enhancementA general enhancement
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();
}
Metadata
Metadata
Assignees
Labels
in: configAn issue in spring-security-configAn issue in spring-security-configstatus: duplicateA duplicate of another issueA duplicate of another issuetype: enhancementA general enhancementA general enhancement