@@ -331,8 +331,8 @@ public HttpSecurity cors(Customizer<CorsConfigurer<HttpSecurity>> corsCustomizer
331
331
* @Bean
332
332
* public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
333
333
* http
334
- * .authorizeRequests((authorizeRequests ) ->
335
- * authorizeRequests
334
+ * .authorizeHttpRequests((authorizeHttpRequests ) ->
335
+ * authorizeHttpRequests
336
336
* .anyRequest().hasRole("USER")
337
337
* )
338
338
* .formLogin((formLogin) ->
@@ -465,8 +465,8 @@ public HttpSecurity portMapper(Customizer<PortMapperConfigurer<HttpSecurity>> po
465
465
* @Bean
466
466
* public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
467
467
* http
468
- * .authorizeRequests((authorizeRequests ) ->
469
- * authorizeRequests
468
+ * .authorizeHttpRequests((authorizeHttpRequests ) ->
469
+ * authorizeHttpRequests
470
470
* .requestMatchers("/**").hasRole("USER")
471
471
* )
472
472
* .jee((jee) ->
@@ -545,8 +545,8 @@ public HttpSecurity jee(Customizer<JeeConfigurer<HttpSecurity>> jeeCustomizer) t
545
545
* @Bean
546
546
* public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
547
547
* http
548
- * .authorizeRequests((authorizeRequests ) ->
549
- * authorizeRequests
548
+ * .authorizeHttpRequests((authorizeHttpRequests ) ->
549
+ * authorizeHttpRequests
550
550
* .requestMatchers("/**").hasRole("USER")
551
551
* )
552
552
* .x509(withDefaults());
@@ -582,8 +582,8 @@ public HttpSecurity x509(Customizer<X509Configurer<HttpSecurity>> x509Customizer
582
582
* @Bean
583
583
* public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
584
584
* http
585
- * .authorizeRequests((authorizeRequests ) ->
586
- * authorizeRequests
585
+ * .authorizeHttpRequests((authorizeHttpRequests ) ->
586
+ * authorizeHttpRequests
587
587
* .requestMatchers("/**").hasRole("USER")
588
588
* )
589
589
* .formLogin(withDefaults())
@@ -865,8 +865,8 @@ public HttpSecurity authorizeHttpRequests(
865
865
* @Bean
866
866
* public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
867
867
* http
868
- * .authorizeRequests((authorizeRequests ) ->
869
- * authorizeRequests
868
+ * .authorizeHttpRequests((authorizeHttpRequests ) ->
869
+ * authorizeHttpRequests
870
870
* .requestMatchers("/**").hasRole("USER")
871
871
* )
872
872
* .requestCache((requestCache) ->
@@ -904,8 +904,8 @@ public HttpSecurity requestCache(Customizer<RequestCacheConfigurer<HttpSecurity>
904
904
* @Bean
905
905
* public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
906
906
* http
907
- * .authorizeRequests((authorizeRequests ) ->
908
- * authorizeRequests
907
+ * .authorizeHttpRequests((authorizeHttpRequests ) ->
908
+ * authorizeHttpRequests
909
909
* .requestMatchers("/**").hasRole("USER")
910
910
* )
911
911
* // sample exception handling customization
@@ -1042,8 +1042,8 @@ public HttpSecurity csrf(Customizer<CsrfConfigurer<HttpSecurity>> csrfCustomizer
1042
1042
* @Bean
1043
1043
* public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
1044
1044
* http
1045
- * .authorizeRequests((authorizeRequests ) ->
1046
- * authorizeRequests
1045
+ * .authorizeHttpRequests((authorizeHttpRequests ) ->
1046
+ * authorizeHttpRequests
1047
1047
* .requestMatchers("/**").hasRole("USER")
1048
1048
* )
1049
1049
* .formLogin(withDefaults())
@@ -1098,8 +1098,8 @@ public HttpSecurity logout(Customizer<LogoutConfigurer<HttpSecurity>> logoutCust
1098
1098
* @Bean
1099
1099
* public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
1100
1100
* http
1101
- * .authorizeRequests((authorizeRequests ) ->
1102
- * authorizeRequests
1101
+ * .authorizeHttpRequests((authorizeHttpRequests ) ->
1102
+ * authorizeHttpRequests
1103
1103
* .requestMatchers("/**").hasRole("USER")
1104
1104
* )
1105
1105
* .formLogin(withDefaults())
@@ -1135,8 +1135,8 @@ public HttpSecurity logout(Customizer<LogoutConfigurer<HttpSecurity>> logoutCust
1135
1135
* @Bean
1136
1136
* public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
1137
1137
* http
1138
- * .authorizeRequests((authorizeRequests ) ->
1139
- * authorizeRequests
1138
+ * .authorizeHttpRequests((authorizeHttpRequests ) ->
1139
+ * authorizeHttpRequests
1140
1140
* .requestMatchers("/**").hasRole("USER")
1141
1141
* )
1142
1142
* .formLogin(withDefaults())
@@ -1188,8 +1188,8 @@ public HttpSecurity anonymous(Customizer<AnonymousConfigurer<HttpSecurity>> anon
1188
1188
* @Bean
1189
1189
* public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
1190
1190
* http
1191
- * .authorizeRequests((authorizeRequests ) ->
1192
- * authorizeRequests
1191
+ * .authorizeHttpRequests((authorizeHttpRequests ) ->
1192
+ * authorizeHttpRequests
1193
1193
* .requestMatchers("/**").hasRole("USER")
1194
1194
* )
1195
1195
* .formLogin(withDefaults());
@@ -1218,8 +1218,8 @@ public HttpSecurity anonymous(Customizer<AnonymousConfigurer<HttpSecurity>> anon
1218
1218
* @Bean
1219
1219
* public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
1220
1220
* http
1221
- * .authorizeRequests((authorizeRequests ) ->
1222
- * authorizeRequests
1221
+ * .authorizeHttpRequests((authorizeHttpRequests ) ->
1222
+ * authorizeHttpRequests
1223
1223
* .requestMatchers("/**").hasRole("USER")
1224
1224
* )
1225
1225
* .formLogin((formLogin) ->
@@ -1298,8 +1298,8 @@ public HttpSecurity formLogin(Customizer<FormLoginConfigurer<HttpSecurity>> form
1298
1298
* @Bean
1299
1299
* public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
1300
1300
* http
1301
- * .authorizeRequests((authorizeRequests ) ->
1302
- * authorizeRequests
1301
+ * .authorizeHttpRequests((authorizeHttpRequests ) ->
1302
+ * authorizeHttpRequests
1303
1303
* .anyRequest().authenticated()
1304
1304
* )
1305
1305
* .saml2Login(withDefaults());
@@ -1387,7 +1387,7 @@ public HttpSecurity saml2Login(Customizer<Saml2LoginConfigurer<HttpSecurity>> sa
1387
1387
* @Bean
1388
1388
* public SecurityFilterChain web(HttpSecurity http) throws Exception {
1389
1389
* http
1390
- * .authorizeRequests ((authorize) -> authorize
1390
+ * .authorizeHttpRequests ((authorize) -> authorize
1391
1391
* .anyRequest().authenticated()
1392
1392
* )
1393
1393
* .saml2Login(withDefaults())
@@ -1516,8 +1516,8 @@ public HttpSecurity saml2Metadata(Customizer<Saml2MetadataConfigurer<HttpSecurit
1516
1516
* @Bean
1517
1517
* public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
1518
1518
* http
1519
- * .authorizeRequests((authorizeRequests ) ->
1520
- * authorizeRequests
1519
+ * .authorizeHttpRequests((authorizeHttpRequests ) ->
1520
+ * authorizeHttpRequests
1521
1521
* .anyRequest().authenticated()
1522
1522
* )
1523
1523
* .oauth2Login(withDefaults());
@@ -1596,8 +1596,8 @@ public HttpSecurity oidcLogout(Customizer<OidcLogoutConfigurer<HttpSecurity>> oi
1596
1596
* @Bean
1597
1597
* public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
1598
1598
* http
1599
- * .authorizeRequests((authorizeRequests ) ->
1600
- * authorizeRequests
1599
+ * .authorizeHttpRequests((authorizeHttpRequests ) ->
1600
+ * authorizeHttpRequests
1601
1601
* .anyRequest().authenticated()
1602
1602
* )
1603
1603
* .oauth2Client(withDefaults());
@@ -1635,8 +1635,8 @@ public HttpSecurity oauth2Client(Customizer<OAuth2ClientConfigurer<HttpSecurity>
1635
1635
* @Bean
1636
1636
* public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
1637
1637
* http
1638
- * .authorizeRequests((authorizeRequests ) ->
1639
- * authorizeRequests
1638
+ * .authorizeHttpRequests((authorizeHttpRequests ) ->
1639
+ * authorizeHttpRequests
1640
1640
* .anyRequest().authenticated()
1641
1641
* )
1642
1642
* .oauth2ResourceServer((oauth2ResourceServer) ->
@@ -1731,8 +1731,8 @@ public HttpSecurity oneTimeTokenLogin(
1731
1731
* @Bean
1732
1732
* public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
1733
1733
* http
1734
- * .authorizeRequests((authorizeRequests ) ->
1735
- * authorizeRequests
1734
+ * .authorizeHttpRequests((authorizeHttpRequests ) ->
1735
+ * authorizeHttpRequests
1736
1736
* .requestMatchers("/**").hasRole("USER")
1737
1737
* )
1738
1738
* .formLogin(withDefaults())
@@ -1833,8 +1833,8 @@ public HttpSecurity redirectToHttps(
1833
1833
* @Bean
1834
1834
* public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
1835
1835
* http
1836
- * .authorizeRequests((authorizeRequests ) ->
1837
- * authorizeRequests
1836
+ * .authorizeHttpRequests((authorizeHttpRequests ) ->
1837
+ * authorizeHttpRequests
1838
1838
* .requestMatchers("/**").hasRole("USER")
1839
1839
* )
1840
1840
* .httpBasic(withDefaults());
@@ -1878,8 +1878,8 @@ public HttpSecurity httpBasic(Customizer<HttpBasicConfigurer<HttpSecurity>> http
1878
1878
* @Bean
1879
1879
* public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
1880
1880
* http
1881
- * .authorizeRequests(authorizeRequests ->
1882
- * authorizeRequests
1881
+ * .authorizeHttpRequests(authorizeHttpRequests ->
1882
+ * authorizeHttpRequests
1883
1883
* .requestMatchers("/**").hasRole("USER")
1884
1884
* )
1885
1885
* .passwordManagement(passwordManagement ->
0 commit comments