Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在问为什么WebSecurityExpressionHandler在 Spring Security 3.1 和 3.2 中不推荐使用注释?api中没有文档。
WebSecurityExpressionHandler
http://static.springsource.org/spring-security/site/docs/3.2.x/apidocs/org/springframework/security/web/access/expression/WebSecurityExpressionHandler.html
有人知道原因吗?
看起来他们将替换WebSecurityExpressionHandler为SecurityExpressionHandler<T>whereT可以是FilterInvocation或MethodInvocation。请注意,它不会影响实现类 ( DefaultWebSecurityExpressionHandler)。
SecurityExpressionHandler<T>
T
FilterInvocation
MethodInvocation
DefaultWebSecurityExpressionHandler
也可以看看: