如果配置在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"/>
转载于:https://www.cnblogs.com/xuan-cz/p/10055229.html