Skip to content

Commit 0a0721b

Browse files
rs017991rwinch
authored andcommitted
Complete HttpSecurity Deprecation notices
1 parent 6b8c17b commit 0a0721b

File tree

1 file changed

+4
-4
lines changed
  • config/src/main/java/org/springframework/security/config/annotation/web/builders

1 file changed

+4
-4
lines changed

config/src/main/java/org/springframework/security/config/annotation/web/builders/HttpSecurity.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1112,9 +1112,9 @@ public HttpSecurity rememberMe(Customizer<RememberMeConfigurer<HttpSecurity>> re
11121112
* </pre>
11131113
* @return the {@link ExpressionUrlAuthorizationConfigurer} for further customizations
11141114
* @throws Exception
1115-
* @deprecated For removal in 7.0. Use {@link #authorizeHttpRequests()} instead
1115+
* @deprecated For removal in 7.0. Use {@link #authorizeHttpRequests(Customizer)} instead
11161116
*/
1117-
@Deprecated
1117+
@Deprecated(since = "6.1", forRemoval = true)
11181118
public ExpressionUrlAuthorizationConfigurer<HttpSecurity>.ExpressionInterceptUrlRegistry authorizeRequests()
11191119
throws Exception {
11201120
ApplicationContext context = getContext();
@@ -1227,9 +1227,9 @@ public ExpressionUrlAuthorizationConfigurer<HttpSecurity>.ExpressionInterceptUrl
12271227
* for the {@link ExpressionUrlAuthorizationConfigurer.ExpressionInterceptUrlRegistry}
12281228
* @return the {@link HttpSecurity} for further customizations
12291229
* @throws Exception
1230-
* @deprecated For removal in 7.0. Use {@link #authorizeHttpRequests} instead
1230+
* @deprecated For removal in 7.0. Use {@link #authorizeHttpRequests(Customizer)} instead
12311231
*/
1232-
@Deprecated
1232+
@Deprecated(since = "6.1", forRemoval = true)
12331233
public HttpSecurity authorizeRequests(
12341234
Customizer<ExpressionUrlAuthorizationConfigurer<HttpSecurity>.ExpressionInterceptUrlRegistry> authorizeRequestsCustomizer)
12351235
throws Exception {

0 commit comments

Comments
 (0)