spring security3';s保护切入点不起作用
spring security3';s保护切入点不起作用,spring,Spring,在spring security3.0.7或3.1中 没关系。只有“ROLE_X”才能看到.jsp页面 但是: 它不起作用,任何人都可以使用test.test.o1方法~~ 当发布前注释=“已启用”时 @预授权(“hasRole('ROLE_X')”) 它也不起作用,大家可以使用test.test.o1方法~~ 我很难过~~ 任何建议或使用的“全局方法安全性”演示,ths 您需要将此注释放置在servlet配置中 另见:
在spring security3.0.7或3.1中
没关系。只有“ROLE_X”才能看到.jsp页面 但是:
它不起作用,任何人都可以使用test.test.o1方法~~
当发布前注释=“已启用”时
@预授权(“hasRole('ROLE_X')”)
它也不起作用,大家可以使用test.test.o1方法~~
我很难过~~
任何建议或使用的“全局方法安全性”演示,ths 您需要将此注释放置在servlet配置中 另见: