PIGAI
|
38916dda25
|
feat(security): 新增单体架构下内部请求头安全过滤机制
- 添加PigxInnerHeaderRemoveFilter类用于防止前端伪造inner header
- 实现基于IP地址和FROM请求头的访问控制逻辑
- 在AutoConfiguration中注册过滤器配置
- 添加hutool-extra依赖支持IP地址工具类
|
2025-10-09 14:52:27 +08:00 |
|
lengleng
|
79b27b6d7d
|
feat(auth): 增强认证逻辑,支持密码过期校验及定时攻击保护机制
|
2025-10-09 14:48:11 +08:00 |
|
PIG AI
|
8d81533751
|
fix(security): 增强OAuth2 token管理功能, 确保删除操作后清理残留的username关联键
|
2025-07-09 21:18:15 +08:00 |
|
PIG AI
|
c8edf16536
|
feat(security): 重构Redis存储的OAuth2授权服务
- 将PigxRedisOAuth2AuthorizationService迁移至common-security模块
- 使用RedisTemplate替代RedisUtils进行缓存操作
- 增加Jackson序列化支持RouteDefinitionVo
- 优化token存储逻辑与过期时间处理
- 统一授权服务与路由管理的Redis配置
|
2025-07-04 12:07:00 +08:00 |
|
PIG AI
|
c8a8da7497
|
feat(tenant): 新增租户用户管理功能
- 在SysUserPost实体类中添加tenantId字段
- 新增SysTenantUserDTO用于租户用户数据传输
- 在SysTenantController中新增用户租户管理接口
- 实现租户用户的增删改查及分页查询功能
- 优化ValidateCodeFilter中的验证码校验逻辑
- 修复PigxUserDetailsService中空部门列表处理问题
|
2025-07-04 12:01:27 +08:00 |
|
PIG AI
|
d3770993ce
|
refactor(user): update user information retrieval to use UserDTO and improve method documentation
|
2025-07-04 11:58:50 +08:00 |
|
PIG AI
|
3a53fb5677
|
feat(redis): 添加Redis工具类,优化RedisTemplate配置
|
2025-07-04 11:57:22 +08:00 |
|
PIG AI
|
7205251977
|
feat(upms): ❕ 增强多租户支持,支持在线切换租户
- 新增SysTenantUser实体类及Mapper用于租户用户关系管理
- 新增SysUserDept实体类及Mapper实现用户多部门支持
- 重构用户信息查询逻辑,支持跨租户查询
- 优化部门管理,支持多租户下的部门树查询
- 扩展UserInfo DTO增加deptId字段
- 重构Redis授权服务,优化租户信息存储结构
# Conflicts:
# pigx-upms/pigx-upms-biz/src/main/java/com/pig4cloud/pigx/admin/controller/SysTenantController.java
# pigx-upms/pigx-upms-biz/src/main/java/com/pig4cloud/pigx/admin/service/SysUserService.java
|
2025-07-04 11:56:14 +08:00 |
|
PIG AI
|
de7e1fb4df
|
feat(pom): 升级项目版本及依赖版本
- 将项目版本从5.8.0升级至5.9.0
- 升级spring-boot版本至3.5.3
- 升级spring-boot-admin版本至3.5.0
- 更新所有子模块的parent版本号
|
2025-06-24 09:00:07 +08:00 |
|
PIG AI
|
78874c1646
|
refactor(pom): 适配 springboot 3.5 & spring cloud 2025
|
2025-06-23 16:19:50 +08:00 |
|
PIG AI
|
560129fc06
|
feat(security): 优化oauth2.0 的自省端点
- 在PigxRemoteRegisteredClientRepository中实现findById方法
- 优化PigxRedisOAuth2AuthorizationService的token处理逻辑
- 修复findByToken方法中tokenType为null时的默认值处理
- 添加根据username清理token的功能扩展
|
2025-06-23 16:15:17 +08:00 |
|
冷冷
|
dc37974c72
|
chore(deps): 更新Spring Boot版本至3.4.5并移除废弃依赖项
- 升级Spring Boot版本从3.4.3到3.4.5
- 移除不再使用的spring-authorization.version属性
- 清理pigx-common-security模块中冗余的版本号配置
|
2025-06-23 16:06:08 +08:00 |
|
冷冷
|
3a8116b5ea
|
chore(pom): update version from 5.7.0 to 5.8.0 across multiple modules
|
2025-03-09 20:47:25 +08:00 |
|
冷冷
|
a00f4f81a4
|
chore(deps): 更新 Spring Security 配置并引入 Lazy 注解 (jdk17-dev)
在 `AuthorizationServerConfiguration` 中移除 `DelegatingAuthenticationConverter` 的重复导入,并调整其位置。在 `PigxResourceServerConfiguration` 中引入 `@Lazy` 注解优化依赖注入,同时将 `PrePostTemplateDefaults` 替换为 `AnnotationTemplateExpressionDefaults`。
|
2025-02-18 19:41:57 +08:00 |
|
冷冷
|
9415d82c28
|
🔖 V5.7.0
|
2024-12-05 12:23:43 +08:00 |
|
冷冷
|
a013b5196a
|
refactor(security): 异常信息使用 messages_zh_CN.properties 国际化文件处理
|
2024-12-01 15:04:50 +08:00 |
|
冷冷
|
8baef653f1
|
upgrade(all): 5.7.0-SNAPSHOT
|
2024-11-27 22:04:25 +08:00 |
|
冷冷
|
d9ed794fc3
|
refactor(app): 优化APP 模块登录用户名不匹配的日志
|
2024-11-24 17:43:30 +08:00 |
|
冷冷
|
17a7351e31
|
fix(app): 【紧急紧急】 APP登录序列化错误导致登录失败
|
2024-08-28 17:39:49 +08:00 |
|
冷冷
|
89dd047167
|
upgrade(version): 5.6.0
|
2024-08-26 23:45:03 +08:00 |
|
冷冷
|
6671a4abf9
|
refactor(缓存): redistemplate / spring cache 使用 Json 序列化
sas 默认的缓存没有修改
|
2024-08-21 14:39:19 +08:00 |
|
冷冷
|
bb5e9cb555
|
upgrade(snapshot): 5.6.0-SNAPSHOT
|
2024-08-16 22:05:47 +08:00 |
|
冷冷
|
3c659c86bd
|
refactor(common): security 增加配置项,如果设置 skipPublicUrl true 如果接口对外设置,即使携带token 也不鉴权
|
2024-08-16 15:28:22 +08:00 |
|
冷冷
|
4747aa1098
|
feat(core security): 适配 spring security 6.3 新增 @HasPermisson 注解
使用 @HasPermisson 替换 @PreAuthority(xxxx),简化接口上的注解
(cherry picked from commit 448e77607fec651d18bde97e3d5cc6734342e51a)
|
2024-08-16 15:27:20 +08:00 |
|
冷冷
|
ba15cf45cc
|
🔒重构bearer token 抽取过程,带token 就鉴权,即使是暴露的端点
(cherry picked from commit ffafe70bef3777664cc87edd1c58436763930ca3)
|
2024-08-16 15:17:26 +08:00 |
|
冷冷
|
e96eaa2179
|
✨ 新增 pigx-common-sensitive 脱敏模块
(cherry picked from commit 39899b1e8ff25ca1ac3708086c1ddb677fb56541)
|
2024-08-16 15:16:26 +08:00 |
|
冷冷
|
aba51bbdb8
|
♻️ 增加 NoToken 注解方便对应 无token feign调用场景
(cherry picked from commit 2d78533a29c9c392f75d76cf202ae1daf8f7c77b)
|
2024-08-16 15:16:20 +08:00 |
|
冷冷
|
835d582b3b
|
✨ 支持根据角色动态脱敏指定数据属性
(cherry picked from commit 51541692ba7ee9ea5cf68f054f33c52133ca1a71)
|
2024-08-16 15:16:06 +08:00 |
|
冷冷
|
05d5e067d6
|
🔖 v5.5
|
2024-05-23 11:36:34 +08:00 |
|
冷冷
|
bbf5614cfc
|
♻️ 优化 OAuth 2.0 登录过程中的异常输出,方便开发过程中调试
|
2024-05-11 12:36:52 +08:00 |
|
冷冷
|
946dcdaf99
|
🗃️ 修改菜单中的错别字,代办 --》 待办
(cherry picked from commit 8218c9fbb4d87cabdfa12df194793db5b4ef43ce)
|
2024-05-10 15:58:50 +08:00 |
|
冷冷
|
179f818e4b
|
✨ 增加 permission.hasScope 判断工具,方便客户端模式使用
(cherry picked from commit 8f0d861d7a6b1d25a71160142f1aac66687ef6c5)
|
2024-05-10 15:58:48 +08:00 |
|
冷冷
|
079d70e204
|
✨ #5631 建议增加密码过期提示或强制修改密码需求
|
2024-05-04 11:33:43 +08:00 |
|
冷冷
|
97e3ffc6ac
|
✨ common-security 能力增强,支持手动传递token 到下游服务
(cherry picked from commit df53f305efa807972f836608cbaf577ee43bc071)
|
2024-04-25 14:34:50 +08:00 |
|
冷冷
|
3d85bb87f8
|
🔖 v5.5.0-snapshot
|
2024-04-20 22:12:52 +08:00 |
|
lbw
|
9b0fe3f4e2
|
🔖 Releasing / Version tags. 5.4
|
2024-02-22 21:30:39 +08:00 |
|
luolin
|
e030653d40
|
♻️ Refactoring code.规范方法命名含义
|
2024-02-04 18:03:13 +08:00 |
|
lbw
|
9b3280ff5d
|
🔖 Releasing / Version tags. v5.3.0
|
2023-12-03 19:40:18 +08:00 |
|
lbw
|
7460562571
|
🔖 Releasing / Version tags. 5.3.0-SNAPSHOT
|
2023-11-27 22:58:33 +08:00 |
|
lbw
|
f1a1291203
|
🎨 Improving structure / format of the code.
|
2023-10-28 23:09:37 +08:00 |
|
lbw
|
22bc9ef90e
|
🔒 Fixing security issues. 避免C端用户携带token 访问 B端接口
|
2023-10-27 17:38:47 +08:00 |
|
lbw
|
32bcd5465b
|
🐛 Fixing a bug. 客户端模式不放回认证具体信息
|
2023-10-25 11:24:28 +08:00 |
|
lbw
|
0c9b7dd02b
|
♻️ Refactoring code. 优化 toc app-server 的相关feignclient 引入逻辑,避免删除 app-server 无法启动单体版本
|
2023-09-27 18:31:21 +08:00 |
|
lbw
|
2c6a700154
|
🔖 Releasing / Version tags. 5.2
🔖 Releasing / Version tags. 5.2
|
2023-09-13 10:28:40 +08:00 |
|
lbw
|
2b20b48389
|
✨ Introducing new features. 重构工作流适配单体版本
|
2023-07-28 22:46:21 +08:00 |
|
lbw
|
524a9fe9da
|
♻️ Refactoring code. SecurityInnerAspect使用前置通知替代环绕通知
|
2023-07-26 16:07:20 +08:00 |
|
lbw
|
b69285c55b
|
✨ flowable M1的适配版本
|
2023-07-24 08:17:04 +08:00 |
|
lbw
|
43da5a1dbf
|
♻️ Refactoring code. 避免SAS 权限拦截失效
|
2023-07-15 16:31:38 +08:00 |
|
lbw
|
9c9b9666b4
|
⚡ 优化SAS 避免鉴权错误
|
2023-07-14 14:46:50 +08:00 |
|
lbw
|
bc772ada79
|
♻️ Refactoring code. 适配OpenAPI
|
2023-07-11 09:27:06 +08:00 |
|