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
1 changed files with 1 additions and 0 deletions

View File

@ -264,6 +264,7 @@ public final class WebSecurity extends AbstractConfiguredSecurityBuilder<Filter,
* @deprecated Use {@link #privilegeEvaluator(WebInvocationPrivilegeEvaluator)}
* instead
*/
@Deprecated
public WebSecurity securityInterceptor(FilterSecurityInterceptor securityInterceptor) {
this.filterSecurityInterceptor = securityInterceptor;
return this;