Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Hccake opened this issue Sep 28, 2022 · 0 comments
Open

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

Hccake opened this issue Sep 28, 2022 · 0 comments
Labels
optimize Make the system use more convenient and robust
Milestone

Comments

@Hccake
Copy link
Member

Hccake commented Sep 28, 2022

需要改动的点:

  1. 抽取封装对应的权限控制类,以及权限控制注解,业务 controller 改为使用自定义注解,并利用 aop 切面实现权限校验。
  2. 封装获取当前登录用户的工具类,以替换当前的 SecurityUtils
  3. 针对以上两点的抽象,以 security 为基础写出实现类,在服务模块引入,或者 admin-core 中引入
@Hccake Hccake added the optimize Make the system use more convenient and robust label Sep 28, 2022
@Hccake Hccake added this to the 2.0.0 milestone Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
optimize Make the system use more convenient and robust
Projects
None yet
Development

No branches or pull requests

1 participant