如果配置在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
时间: 2024-10-23 13:27:59