如果配置在spring-security中没有权限控制效果,可以配置在springmvc中试试
1 <security:global-method-security pre-post-annotations="enabled"/> 2 <security:global-method-security jsr250-annotations="enabled"/> 3 <security:global-method-security secured-annotations="enabled"/>
如果配置在spring-security中没有权限控制效果,可以配置在springmvc中试试
1 <security:global-method-security pre-post-annotations="enabled"/> 2 <security:global-method-security jsr250-annotations="enabled"/> 3 <security:global-method-security secured-annotations="enabled"/>