We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea1fc3b commit ed1711aCopy full SHA for ed1711a
generators/spring-boot/templates/src/main/java/_package_/config/SecurityConfiguration_imperative.java.ejs
@@ -153,7 +153,7 @@ public class SecurityConfiguration {
153
<%_ } _%>
154
155
@Bean
156
- public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
+ public SecurityFilterChain filterChain(HttpSecurity http)<%_ if (!springBoot4) { _%> throws Exception<%_ } _%> {
157
http
158
<%_ if (!applicationTypeMicroservice) { _%>
159
.cors(withDefaults())
0 commit comments