我只是面对的是,为了使用特定的注解春季安全,
我应该明确地让他们在我的配置(applicationContext.xml中)
例子:Spring注解配置看起来像开销
<sec:global-method-security secured-annotations="enabled" />
<sec:global-method-security jsr250-annotations="enabled" />
...
什么您在的方法中看到的优势明确声明在我们的框架应用程序中允许使用哪些注释
?
看起来像overconfiguration,不是吗?
+1 - 好问题 – Nilesh 2011-02-24 15:35:02