mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-25 13:32:30 +00:00
Complete HttpSecurity Deprecation notices
This commit is contained in:
parent
6b8c17bbe5
commit
0a0721b030
@ -1112,9 +1112,9 @@ public final class HttpSecurity extends AbstractConfiguredSecurityBuilder<Defaul
|
|||||||
* </pre>
|
* </pre>
|
||||||
* @return the {@link ExpressionUrlAuthorizationConfigurer} for further customizations
|
* @return the {@link ExpressionUrlAuthorizationConfigurer} for further customizations
|
||||||
* @throws Exception
|
* @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()
|
public ExpressionUrlAuthorizationConfigurer<HttpSecurity>.ExpressionInterceptUrlRegistry authorizeRequests()
|
||||||
throws Exception {
|
throws Exception {
|
||||||
ApplicationContext context = getContext();
|
ApplicationContext context = getContext();
|
||||||
@ -1227,9 +1227,9 @@ public final class HttpSecurity extends AbstractConfiguredSecurityBuilder<Defaul
|
|||||||
* for the {@link ExpressionUrlAuthorizationConfigurer.ExpressionInterceptUrlRegistry}
|
* for the {@link ExpressionUrlAuthorizationConfigurer.ExpressionInterceptUrlRegistry}
|
||||||
* @return the {@link HttpSecurity} for further customizations
|
* @return the {@link HttpSecurity} for further customizations
|
||||||
* @throws Exception
|
* @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(
|
public HttpSecurity authorizeRequests(
|
||||||
Customizer<ExpressionUrlAuthorizationConfigurer<HttpSecurity>.ExpressionInterceptUrlRegistry> authorizeRequestsCustomizer)
|
Customizer<ExpressionUrlAuthorizationConfigurer<HttpSecurity>.ExpressionInterceptUrlRegistry> authorizeRequestsCustomizer)
|
||||||
throws Exception {
|
throws Exception {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user