lzmの小窝

Session跟Jwt区别,7.8

session验证跟Jwt验证的链路区别:session多依赖现有的SpringSecurity体系即可,只需要在登录时维护安全上下文仓库存入登录时的Session,内容就是用authenticationManager.authenticate(username,password)登录之后的auth

newuser1 发布于 2026-07-09