是的,它工作正常。
你需要
<security:global-method-security pre-post-annotations="enabled"/>在
...-servlet.xml。它还需要CGLIB代理,因此您的控制器不应具有接口,或应使用
proxy-target-class = true。

是的,它工作正常。
你需要
<security:global-method-security pre-post-annotations="enabled"/>在
...-servlet.xml。它还需要CGLIB代理,因此您的控制器不应具有接口,或应使用
proxy-target-class = true。