- 咸鱼开发一枚
- 热爱编程, 拥抱开源
- 热衷开发 ( RUST 天下无敌 )
多线程并发之线程池Executor与Fork/Join框架 并发编程之ForkJoin框架原理分析 Spring Boot 2.X REST 风格全局异常处理 SpringBoot 如何进行参数校验,老鸟们都这么玩的! Spring Boot + Spring Cloud 实现权限管理系统 后端篇(二十五):Spring Security 版本 第一篇 全网SpringSecurity最详细教程 【项目实践】一文带你搞定页面权限、按钮权限以及数据权限 菜鸟的spring security学习教程 使用SpringSecurity为API接口添加鉴权token Spring Security账号密码认证 + 自定义鉴权(示例) 基于 Spring Security 的前后端分离的权限控制系统 SpringBoot Security 自定义 DaoAuthenticationProvider,重写additionalAuthenticationChecks方法 spEL—基础语法+注解中动态调用Bean方法 搜CSDN搜索【小家Spring】SpEL你感兴趣的实现原理浅析spring-expression~(SpelExpressionParser、EvaluationContext、rootObject) Spel + AOP动态赋值 Spring进阶 - spring 表达式语言(SpEL) Spring @Autowired Map 和 List SpringCache与redis集成,优雅的缓存解决方案 Spring Cache,从入门到真香 SpringSecurity问题汇总 分布式事务,这一篇就够了 分布式事务解决方案常见误区与实用建议 Spring AOP简介 算法-动态规划 Dynamic Programming--从菜鸟到老鸟 Spring--AOP、通知的执行顺序
编辑权限限制 10
@PreAuthorize("@accessDecisionService.hasPermission('lease-budget',T(com.xxx.constant.AuthorityConstant).EDIT_AUTHORITY_NUM)")
查看权限限制 1
@PreAuthorize("@accessDecisionService.hasPermission('lease-budget',T(com.xxx.constant.AuthorityConstant).SCAN_AUTHORITY_NUM)")
@AuthorityPostFilter(
elExpression = "deptCode=T(com.xxx.CommonController).getOdOrLeasedRoleCodes(#type)",
needFilter = "[email protected](#pageId)")
@AuthorityPreFilter(
elExpression = "{deptCode:T(com.xxx.AuthorityUtil).validDeptCode(#deptCode)}",
needFilter = "[email protected]('od-exit-staff')")
@AuthorityPreFilter(
elExpression = "{'queryVO.productLineCode':T(com.xxx.util.AuthorityUtil).validDeptCode(#queryVO?.productLineCode)}",
needFilter = "[email protected]('area-dashboard')")