Browse Source

Complete HttpSecurity Deprecation notices

pull/15834/head
Ryan Scheidter 2 years ago committed by Rob Winch
parent
commit
0a0721b030
  1. 8
      config/src/main/java/org/springframework/security/config/annotation/web/builders/HttpSecurity.java

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

@ -1112,9 +1112,9 @@ public final class HttpSecurity extends AbstractConfiguredSecurityBuilder<Defaul @@ -1112,9 +1112,9 @@ public final class HttpSecurity extends AbstractConfiguredSecurityBuilder<Defaul
* </pre>
* @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<HttpSecurity>.ExpressionInterceptUrlRegistry authorizeRequests()
throws Exception {
ApplicationContext context = getContext();
@ -1227,9 +1227,9 @@ public final class HttpSecurity extends AbstractConfiguredSecurityBuilder<Defaul @@ -1227,9 +1227,9 @@ public final class HttpSecurity extends AbstractConfiguredSecurityBuilder<Defaul
* for the {@link ExpressionUrlAuthorizationConfigurer.ExpressionInterceptUrlRegistry}
* @return the {@link HttpSecurity} 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 HttpSecurity authorizeRequests(
Customizer<ExpressionUrlAuthorizationConfigurer<HttpSecurity>.ExpressionInterceptUrlRegistry> authorizeRequestsCustomizer)
throws Exception {

Loading…
Cancel
Save