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 ad9e737bf2
commit a996dfc55b
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;