Commit Graph

15 Commits

Author SHA1 Message Date
b2baccline
b72e0372bd 🎨 token 序列化异常捕捉 2021-07-27 19:17:20 +08:00
b2baccline
21253431c2 添加日志信息打印 2021-07-22 09:47:04 +08:00
b2baccline
1567ae45e1 🐛 fix websocket 连接无法解析 token 的问题 2021-07-19 21:06:08 +08:00
b2baccline
691fda34be 直接使用 UserDetails 去接收客户端的 Principal 对象 2021-07-16 10:40:23 +08:00
b2baccline
0d07c53a28 ♻️ ballcat-oauth 更名为 ballcat-auth,将授权相关代码剥离。方便后续将授权服务和 upms 资源服务分开独立部署 2021-07-15 16:24:15 +08:00
b2baccline
faa6bd7ee3 🎨 code format 2021-07-13 22:49:50 +08:00
b2baccline
1a58c677e9 PasswordEncoder 使用 DelegatingPasswordEncoder, 方便未来切换密码加密算法 2021-07-10 17:27:09 +08:00
b2baccline
9e3424118e 使用 authenticationEntryPoint 自定义 resourceServer 鉴权异常时的返回 2021-07-10 14:07:55 +08:00
b2baccline
7a98051cea ♻️ 在不共享 token 存储时的资源服务器的不透明令牌解析支持(为了迎合 OAuth2User 的标准,删除了 userResources 和 userAttributes 属性, 扩展信息统一放置 在 attributes 属性中)。 2021-07-09 22:42:19 +08:00
b2baccline
3c2e558076 ♻️ 由于 spring-security-oauth2 项目未来将废弃,resource server 相关功能迁移至 spring-security 5.x 本身提供的能力 2021-07-08 01:46:16 +08:00
b2baccline
e09cd44be8 🏗️ 移动 Oauth2 相关异常类到 common-security 2021-07-07 19:45:00 +08:00
b2baccline
11cca6453f 🏗️ 迁移 PasswordUtils 到 common-security,并精简一些 common 模块的依赖 2021-07-07 15:34:41 +08:00
b2baccline
1eeffee404 🎨 解耦 common-security 和 system-model,SysUserDetails rename to User, sysUser 中的相关属性,现在直接写在 User 类中 2021-07-06 22:44:41 +08:00
b2baccline
bc04ba62bd 扩展默认的 RedisTokenStore,在序列化异常时,直接清除掉缓存。避免每次升级修改 UserDetails 时都需要手动的去删除所有缓存 2021-07-06 21:12:59 +08:00
b2baccline
dcf9a3ab3d ♻️ 移除 ballcat-oauth-model,相关代码迁入 ballcat-common-security 2021-07-06 18:55:40 +08:00