From 0a0721b030d844110ed638c55565c9e9b59bc957 Mon Sep 17 00:00:00 2001 From: Ryan Scheidter Date: Thu, 19 Sep 2024 14:18:59 -0500 Subject: [PATCH] Complete HttpSecurity Deprecation notices --- .../config/annotation/web/builders/HttpSecurity.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/src/main/java/org/springframework/security/config/annotation/web/builders/HttpSecurity.java b/config/src/main/java/org/springframework/security/config/annotation/web/builders/HttpSecurity.java index 12253d65da..9e647a049e 100644 --- a/config/src/main/java/org/springframework/security/config/annotation/web/builders/HttpSecurity.java +++ b/config/src/main/java/org/springframework/security/config/annotation/web/builders/HttpSecurity.java @@ -1112,9 +1112,9 @@ public final class HttpSecurity extends AbstractConfiguredSecurityBuilder * @return the {@link ExpressionUrlAuthorizationConfigurer} for further customizations * @throws Exception - * @deprecated For removal in 7.0. Use {@link #authorizeHttpRequests()} instead + * @deprecated For removal in 7.0. Use {@link #authorizeHttpRequests(Customizer)} instead */ - @Deprecated + @Deprecated(since = "6.1", forRemoval = true) public ExpressionUrlAuthorizationConfigurer.ExpressionInterceptUrlRegistry authorizeRequests() throws Exception { ApplicationContext context = getContext(); @@ -1227,9 +1227,9 @@ public final class HttpSecurity extends AbstractConfiguredSecurityBuilder.ExpressionInterceptUrlRegistry> authorizeRequestsCustomizer) throws Exception {