You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config/src/main/java/org/springframework/security/config/annotation/web/configurers/AuthorizeHttpRequestsConfigurer.java
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -194,7 +194,25 @@ public AuthorizationManagerRequestMatcherRegistry withObjectPostProcessor(
194
194
* @return the {@link AuthorizationManagerRequestMatcherRegistry} for further
195
195
* customizations
196
196
* @since 5.7
197
+
* @deprecated Permit access to the {@link jakarta.servlet.DispatcherType}
198
+
* instead. <pre>
199
+
* @Configuration
200
+
* @EnableWebSecurity
201
+
* public class SecurityConfig {
202
+
*
203
+
* @Bean
204
+
* public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
0 commit comments