1
0
mirror of synced 2026-05-22 21:33:16 +00:00

Add Deprecated annotation to WebSecurity#securityInterceptor

Closes gh-11634
This commit is contained in:
Marcus Da Coregio
2022-07-27 14:32:44 -03:00
parent 7a860e1568
commit d66ad22652
@@ -264,6 +264,7 @@ public final class WebSecurity extends AbstractConfiguredSecurityBuilder<Filter,
* @deprecated Use {@link #privilegeEvaluator(WebInvocationPrivilegeEvaluator)} * @deprecated Use {@link #privilegeEvaluator(WebInvocationPrivilegeEvaluator)}
* instead * instead
*/ */
@Deprecated
public WebSecurity securityInterceptor(FilterSecurityInterceptor securityInterceptor) { public WebSecurity securityInterceptor(FilterSecurityInterceptor securityInterceptor) {
this.filterSecurityInterceptor = securityInterceptor; this.filterSecurityInterceptor = securityInterceptor;
return this; return this;