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