Commit Graph

4 Commits

Author SHA1 Message Date
chiguyong 6495e93e06 feat: RBAC权限管理后端实现
- SecurityConfig: 添加CORS配置,支持多端口(5173-5180)
- User/Permission/Role实体: 完善权限相关实体
- JwtTokenProvider: token生成和验证
- LoginService: 登录逻辑
- UserController: 用户管理接口
- application.yml: 后端配置
2026-03-22 01:33:21 +08:00
chiguyong d12edef2ce test(auth): 添加单元测试
- PasswordServiceTest: 5个测试
- UserServiceTest: 8个测试
- 添加测试依赖: spring-boot-starter-test, h2
2026-03-17 23:30:41 +08:00
chiguyong 2f8ac15434 refactor(auth): 密码策略和登录限制改为配置化
- PasswordService 支持配置化
- LoginAttemptService 支持配置化
- 配置文件添加password和login配置项
2026-03-17 22:38:56 +08:00
chiguyong 9aba3f1901 initial: ether-pms project skeleton 2026-03-17 21:44:46 +08:00