Skip to content

业务模块与 spring-security 解耦 #205

@Hccake

Description

@Hccake

需要改动的点:

  1. 抽取封装对应的权限控制类,以及权限控制注解,业务 controller 改为使用自定义注解,并利用 aop 切面实现权限校验。
  2. 封装获取当前登录用户的工具类,以替换当前的 SecurityUtils
  3. 针对以上两点的抽象,以 security 为基础写出实现类,在服务模块引入,或者 admin-core 中引入

Metadata

Metadata

Assignees

No one assigned

    Labels

    optimizeMake the system use more convenient and robust

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions