diff --git a/web/src/main/java/org/springframework/security/web/access/expression/DefaultWebSecurityExpressionHandler.java b/web/src/main/java/org/springframework/security/web/access/expression/DefaultWebSecurityExpressionHandler.java index 3f73e101f5..26ac79f6fa 100644 --- a/web/src/main/java/org/springframework/security/web/access/expression/DefaultWebSecurityExpressionHandler.java +++ b/web/src/main/java/org/springframework/security/web/access/expression/DefaultWebSecurityExpressionHandler.java @@ -12,7 +12,8 @@ import org.springframework.security.web.FilterInvocation; * @author Luke Taylor * @since 3.0 */ -public class DefaultWebSecurityExpressionHandler extends AbstractSecurityExpressionHandler { +@SuppressWarnings("deprecation") +public class DefaultWebSecurityExpressionHandler extends AbstractSecurityExpressionHandler implements WebSecurityExpressionHandler { private final AuthenticationTrustResolver trustResolver = new AuthenticationTrustResolverImpl(); diff --git a/web/src/main/java/org/springframework/security/web/access/expression/WebSecurityExpressionHandler.java b/web/src/main/java/org/springframework/security/web/access/expression/WebSecurityExpressionHandler.java index 70bb5e801c..f5e350059e 100644 --- a/web/src/main/java/org/springframework/security/web/access/expression/WebSecurityExpressionHandler.java +++ b/web/src/main/java/org/springframework/security/web/access/expression/WebSecurityExpressionHandler.java @@ -1,8 +1,12 @@ package org.springframework.security.web.access.expression; +import org.springframework.expression.EvaluationContext; import org.springframework.security.access.expression.SecurityExpressionHandler; +import org.springframework.security.core.Authentication; import org.springframework.security.web.FilterInvocation; @Deprecated public interface WebSecurityExpressionHandler extends SecurityExpressionHandler { + + EvaluationContext createEvaluationContext(Authentication authentication, FilterInvocation invocation); }