2018年10月25日

AOP日志记录

摘要: 一.采用功能最强的环绕通知 2.前置通知与后置通知 阅读全文

posted @ 2018-10-25 18:58 雨后黄昏 阅读(157) 评论(0) 推荐(0) 编辑

springSecurity 基于方法权限控制@RolesAllowed @Serured @PreAuthorize 与 页面端标签控制权限

摘要: 基于方法权限控制有三种,但都是基于aop的,所以使用需要在springmvc.xml中开启<aop:aspectj-autoproxy proxy-target-class="true"></aop:aspectj-autoproxy> 一.JSR-250注解 @RolesAllowed 表示访问对 阅读全文

posted @ 2018-10-25 18:45 雨后黄昏 阅读(4723) 评论(0) 推荐(1) 编辑

导航