Commit Graph
201 Commits
Author SHA1 Message Date
冷冷 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
冷冷 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
冷冷 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
冷冷 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
冷冷 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 c5b2f82a7a ⬆️ Upgrading dependencies. springboot 3.2.x 2024-01-29 13:05:13 +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
lbw 5c11673841 ref: access_token & refresh_token 格式统一 2023-11-26 15:59:58 +08:00
lbw 07d9f0c98c ♻️ Refactoring code. Vo -> VO 2023-11-08 15:52:43 +08:00
lbw 6a0199d9cd ♻️ Refactoring code. 重构授权码模式认证页面 2023-11-07 09:08:52 +08:00
lbw b0df74b134 ♻️ Refactoring code. 重构授权码模式认证页面 2023-11-06 14:00:14 +08:00
lbw b69285c55b ✨ flowable M1的适配版本 2023-07-24 08:17:04 +08:00
lbw bc772ada79 ♻️ Refactoring code. 适配OpenAPI 2023-07-11 09:27:06 +08:00
lbw 78947f4258 ♻️ Refactoring code. druid 适配 springboot 3.0 2023-07-10 23:18:54 +08:00
lbw 1525a14753 ✨ Introducing new features. 先解决编译问题 2023-07-10 17:49:56 +08:00
lbw 44f473ba27 ⚡ 移动端密码错误不锁定用户 2023-06-26 19:22:20 +08:00
lbw 34535262eb ♻️ Refactoring code. 适配 v5 pigx-app 2023-04-09 11:39:57 +08:00
lbw 7b7615c68f ⚡ 优化客户端模式下 NPE异常 2023-04-07 18:03:01 +08:00
lbw fbde71ccc4 🎨 Improving structure / format of the code. 优化代码,批量删除无用 import 2023-04-07 14:39:09 +08:00
lbw e358994000 ✨ Introducing new features. aj-report 变更为 goview 2023-04-06 10:39:15 +08:00
lbw d731366d86 ⬆️ Upgrading dependencies. sas 0.4.1 2023-03-24 10:26:33 +08:00
lbw b27fd2ae18 🐛 Fixing a bug. fix #4773 登陆成功清除累计失败次数异常 2023-03-22 09:45:05 +08:00
lbw 4e805cd792 ♻️ Refactoring code. 支持数据库记录 client 信息 2023-03-17 16:33:33 +08:00
aeizzz 3cab378fde 🐛 Fixing a bug. pig前缀改成pigx 2023-02-21 09:46:36 +08:00
lbw 3354b7ceb1 feat: #4677 优化 checkToken 返回 OAuth2AccessToken 全部信息 2023-02-13 19:08:23 +08:00
lbw 4053476ff6 ♻️ 重构密码登录过程的特殊日志输出 2023-01-28 09:55:31 +08:00
lbw 39a7a4ebf8 ✨ pigx-register支持开启认证模式 2023-01-14 09:44:49 +08:00
lbw 355b47279e ✨ SAS 登录并发控制 2023-01-10 10:13:18 +08:00
aeizzz b9bf0d14b9 🐛 Fixing a bug. 修复令牌管理中不显示用户id问题 2023-01-06 14:18:00 +08:00
aeizzz a1feac5a8e 🐛 Fixing a bug. 避免 race condition 2022-12-28 12:19:16 +08:00
aeizzz a88e3f1a89 ✨ Introducing new features. 升级nacos版本为2.2.0 2022-12-16 13:48:41 +08:00
aeizzz d92ae7b504 🐛 Fixing a bug. 修复报表中检查token的问题 2022-12-14 16:00:10 +08:00
aeizzz 436b5748c0 🐛 Fixing a bug. 令牌查询报错 2022-12-12 16:21:09 +08:00
lbw 0513be8644 ♻️ Refactoring code. 迁移 Spring Authorization Server 2022-12-11 15:18:48 +08:00