wangjian963 0e69a01120 fix(security): 修复登录时 Collection.size() NPE — Spring Boot 4.0 适配
LoginUser.getAuthorities() 直接返回 null,Spring Security 6.x
  内部链路调用 c.size() 触发 NPE,导致 admin 用户无法登录。

  变更:
  - LoginUser.java: getAuthorities() 改为将 permissions 转为
    SimpleGrantedAuthority 集合,空时返回空集合而非 null
  - SysUserMapper.xml: collection 映射添加 notNullColumn="role_id",
    防止 LEFT JOIN 无角色时产生 null 集合
2026-06-05 11:30:31 +08:00
2026-05-27 08:59:07 +08:00
2026-05-27 08:59:07 +08:00
2026-05-27 08:59:07 +08:00
2026-05-27 23:18:49 +08:00
2026-04-08 23:12:24 +08:00
2026-05-27 08:59:07 +08:00
2026-05-27 08:59:07 +08:00
2026-05-27 08:59:07 +08:00
2026-05-27 08:59:07 +08:00
2026-05-27 08:59:07 +08:00
2026-05-27 08:59:07 +08:00
2026-05-27 08:59:07 +08:00
2026-05-27 08:59:07 +08:00
2026-05-27 08:59:07 +08:00
2026-05-27 08:59:07 +08:00
2026-05-27 08:59:07 +08:00
2026-05-27 08:59:07 +08:00
2026-05-27 08:59:07 +08:00
2026-05-27 08:59:07 +08:00
2026-05-27 08:59:07 +08:00
2026-05-27 08:59:07 +08:00
2026-05-27 08:59:07 +08:00
2026-05-27 08:59:07 +08:00
Description
No description provided
262 MiB
Languages
Java 47.8%
Vue 46.4%
JavaScript 4.5%
HTML 0.6%
TypeScript 0.3%
Other 0.2%