springSecurity 基于方法的细粒度权限控制(动态代理)
springSecurity
基于方法的细粒度权限控制(动态代理)
1导入jar包
javax.annotation
jsr250-api
1.0
2.security.xml文件中配置
<security:global-method-security jsr250-annotations=“enabled”/>
3.在方法上添加注解
@RolesAllowed
@Request...
原创
2019-02-23 10:25:47 ·
3368 阅读 ·
0 评论