PIG AI
|
d32b1af5e4
|
refactor(auth): 统一代码格式与优化注释风格
- 规范多个类中的代码缩进与空行格式
- 删除冗余注释与不必要的空行
- 统一catch代码块的花括号换行风格
- 优化方法注释的简洁性与一致性
- 调整部分类成员变量的声明顺序
|
2025-07-05 09:12:00 +08:00 |
|
PIG AI
|
c0e9ed69be
|
feat(auth): 优化登录失败次数统计逻辑
- 使用RedisUtils.increment替代原生Redis命令实现递增操作
- 简化代码结构并提升可读性
|
2025-07-05 09:00:34 +08:00 |
|
PIG AI
|
2d7d089fcd
|
feat(auth): 优化租户过期验证逻辑并统一Redis key格式
- 修改登录失败/成功处理中的Redis key格式,移除tenantKeyStrResolver依赖
- 简化RedisUtils.execute调用方式,移除冗余的RedisCallback类型声明
- 在SysTenantServiceImpl中增加租户状态和时间有效性过滤
- 重构TenantContextHolderFilter的租户验证逻辑,增加remoteTenantService备用查询
- 调整租户无效时的HTTP状态码为426并优化响应内容类型
|
2025-07-04 16:41:06 +08:00 |
|
PIG AI
|
00efa97eef
|
feat(cache): 在RedisUtils中增加increment方法并优化验证码缓存服务
- 新增RedisUtils.increment方法用于原子递增操作
- 重构CaptchaCacheServiceProvider使用RedisUtils替代直接stringRedisTemplate调用
- 统一Redis缓存操作工具类方法调用方式
|
2025-07-04 12:24:28 +08:00 |
|
PIG AI
|
bf1e58fb71
|
feat(auth): 增加租户上下文支持
- 在retrieveUser方法中为PigxUser类型设置TenantContextHolder
- 确保用户认证时自动携带租户ID信息
|
2025-07-04 12:07:17 +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
|
5058c07bff
|
refactor(auth): 优化OAuth2认证模块文档与token查询逻辑
- 重构OAuth2ResourceOwnerBaseAuthenticationProvider的JavaDoc为中文文档
- 优化token查询接口的分页处理逻辑
- 使用TenantContextHolder替代tenantKeyStrResolver获取租户信息
- 简化token列表查询直接从Redis key解析基础信息
|
2025-07-04 11:56:36 +08:00 |
|
PIG AI
|
a970fe166a
|
refactor(stream): 替换Collectors.toList()为toList()方法
- 优化代码简洁性,使用Java 16引入的Stream.toList()替代Collectors.toList()
- 统一代码风格,减少冗余代码
- 提升代码可读性,简化stream操作
|
2025-07-04 11:50:17 +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
|
5978f87268
|
feat(auth): 更新captcha依赖库
- 将滑块验证码依赖从spring-boot-starter-captcha替换为captcha-spring-boot-starter
- 使用pig-mesh维护的新版本captcha组件
|
2025-06-23 16:20:13 +08:00 |
|
PIG AI
|
78874c1646
|
refactor(pom): 适配 springboot 3.5 & spring cloud 2025
|
2025-06-23 16:19:50 +08:00 |
|
PIG AI
|
6c8e257a1e
|
fix(auth/templates): 修复模板中request.contextPath的空指针问题
- 在confirm.ftl和login.ftl模板中增加request对象判空逻辑
- 优化OAuth2授权和登录表单的action路径安全性
|
2025-06-23 16:17:05 +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 |
|
冷冷
|
d474799fa7
|
feat(encrypt-api): 支持全局请求报文加密
BREAKING CHANGE: 文档和用法完全和之前不一样,不需要耦合代码
|
2025-03-07 18:18:02 +08:00 |
|
冷冷
|
deddae63d5
|
refactor(auth): 移除不必要的日志依赖,简化 TenantSavedRequestAwareAuthenticationSuccessHandler 类
|
2025-03-07 18:14:03 +08:00 |
|
冷冷
|
597123ae6d
|
feat(auth): 修改查询token的接口路径为/token/query-token
|
2025-03-07 18:11:09 +08:00 |
|
冷冷
|
8afdafbea4
|
refactor(auth): 将 requestCache 字段修改为 final,增强类的不可变性
|
2025-02-18 22:18:46 +08:00 |
|
冷冷
|
3a5d7a9eb9
|
refactor(auth): 移除不必要的日志依赖,简化 TenantSavedRequestAwareAuthenticationSuccessHandler 类
|
2025-02-18 22:18:22 +08:00 |
|
冷冷
|
7f8626e04f
|
feat: 更新 PigxTokenEndpoint 和相关模板,优化授权流程和界面
|
2025-02-18 22:17:42 +08:00 |
|
冷冷
|
cfae5e1c05
|
feat: 删除PigxBootSecurityServerConfiguration文件并优化授权服务器配置(jdk17-dev)
删除`PigxBootSecurityServerConfiguration`文件,将相关配置迁移至`AuthorizationServerConfiguration`。
优化`AuthorizationServerConfiguration`中的授权服务器安全策略,移除不必要的条件注解`@ConditionalOnProperty`。
修复`FormIdentityLoginConfigurer`中的表单登录处理URL,确保与授权服务器配置一致。
|
2025-02-18 20:25:11 +08:00 |
|
冷冷
|
a00f4f81a4
|
chore(deps): 更新 Spring Security 配置并引入 Lazy 注解 (jdk17-dev)
在 `AuthorizationServerConfiguration` 中移除 `DelegatingAuthenticationConverter` 的重复导入,并调整其位置。在 `PigxResourceServerConfiguration` 中引入 `@Lazy` 注解优化依赖注入,同时将 `PrePostTemplateDefaults` 替换为 `AnnotationTemplateExpressionDefaults`。
|
2025-02-18 19:41:57 +08:00 |
|
冷冷
|
d8c9f64079
|
fix(core): login token user_id set string type
|
2025-02-08 15:17:06 +08:00 |
|
冷冷
|
9415d82c28
|
🔖 V5.7.0
|
2024-12-05 12:23:43 +08:00 |
|
冷冷
|
8baef653f1
|
upgrade(all): 5.7.0-SNAPSHOT
|
2024-11-27 22:04:25 +08:00 |
|
冷冷
|
8d0faea641
|
fix(security): check-token token相关接口错误时返回不正确的json
Closes #5998
|
2024-11-24 17:42:14 +08:00 |
|
673315837
|
3f82770353
|
CaptchaCacheServiceProvider添加接口的increment实现
|
2024-11-06 12:46:01 +08:00 |
|
冷冷
|
89dd047167
|
upgrade(version): 5.6.0
|
2024-08-26 23:45:03 +08:00 |
|
冷冷
|
bb5e9cb555
|
upgrade(snapshot): 5.6.0-SNAPSHOT
|
2024-08-16 22:05:47 +08:00 |
|
冷冷
|
f2921c2102
|
fix(security): 安全问题,数字验证码增加参数校验避免伪造绕过
|
2024-08-16 15:28:04 +08:00 |
|
冷冷
|
aba51bbdb8
|
♻️ 增加 NoToken 注解方便对应 无token feign调用场景
(cherry picked from commit 2d78533a29c9c392f75d76cf202ae1daf8f7c77b)
|
2024-08-16 15:16:20 +08:00 |
|
冷冷
|
fdd7b72f2a
|
🐳 dockerfile base mirror use aliyun proxy
|
2024-06-10 15:52:38 +08:00 |
|
冷冷
|
c7a3534fd7
|
🔧 maven 增加 boot profile 避免单体打包失败
|
2024-05-28 13:09:14 +08:00 |
|
冷冷
|
05d5e067d6
|
🔖 v5.5
|
2024-05-23 11:36:34 +08:00 |
|
冷冷
|
4f736bbac1
|
🔧 修改 pom.xml 指定默认的 profile ,避免打包不指定profile
|
2024-05-20 22:15:06 +08:00 |
|
冷冷
|
cc96bf8434
|
♻️ 优化 OAuth 2.0 登录过程中的异常输出,方便开发过程中调试
|
2024-05-11 09:13:19 +08:00 |
|
冷冷
|
079d70e204
|
✨ #5631 建议增加密码过期提示或强制修改密码需求
|
2024-05-04 11:33:43 +08:00 |
|
冷冷
|
690568aa82
|
♻️ 优化异常抛出逻辑,方便二次扩展
|
2024-05-04 11:33:39 +08:00 |
|
冷冷
|
6fc3a9af40
|
♻️ 优化异常抛出逻辑,方便二次扩展
|
2024-05-04 11:33:39 +08:00 |
|
冷冷
|
1a145b1287
|
⏪ 系统生成token 回滚成 uuid
(cherry picked from commit 51cbcbf6226514d3a3c476e9518f022500ea518c)
|
2024-04-25 14:35:32 +08:00 |
|
冷冷
|
5138c1e2b8
|
♻️ 优化网关、认证中心配置,方便架构调整
|
2024-04-20 22:55:39 +08:00 |
|
冷冷
|
3d85bb87f8
|
🔖 v5.5.0-snapshot
|
2024-04-20 22:12:52 +08:00 |
|
冷冷
|
159ec6d9d4
|
♻️ Refactoring code. 架构重构支持 一套代码两种方式运行
|
2024-04-18 18:01:40 +08:00 |
|
冷冷
|
a3a32320c2
|
🐛 Fixing a bug. 覆盖原生的 OAuth2RefreshTokenAuthenticationConverter ,避免无法获取 query params
|
2024-03-05 15:36:54 +08:00 |
|
lbw
|
9b0fe3f4e2
|
🔖 Releasing / Version tags. 5.4
|
2024-02-22 21:30:39 +08:00 |
|
lbw
|
c5b2f82a7a
|
⬆️ Upgrading dependencies. springboot 3.2.x
|
2024-01-29 13:05:13 +08:00 |
|
wangzj
|
c424c5aa8f
|
解决docker中文乱码
|
2023-12-16 16:42:08 +08:00 |
|
lbw
|
6ef72febbf
|
🐛 Fixing a bug. 授权码模式丢失 username 参数
|
2023-12-11 10:23:45 +08:00 |
|
lbw
|
8370878ace
|
♻️ Refactoring code. 统一 Redis 序列化规则
|
2023-12-04 13:37:18 +08:00 |
|