Comments (2)
首先,根据2020-12-24 @v1.7.0更新日志可以得知:activityTimeout控制token临时过期与续签功能,该参数不会影响到timeout的值,他们是两个不同的配置参数。
其次,根据StpUtil - 鉴权工具类SaLoginModel 配置示例中的注释可以得知:如未在SaLoginModel指定timeout,自动取全局配置的 timeout 值,个人理解这句话变相意思就是SaLoginModel指定timeout优先于全局配置的 timeout 值。
from sa-token.
@m18311155200 感谢,就是像确认SaLoginModel 设置的Timeout会受到框架配置里参数(timeout、activityTimeout)影响吗
from sa-token.
Related Issues (20)
- 鉴权能否支持动态获取入参,并将入参作为角色code或者权限code的前缀? HOT 4
- 使用jackson 2.17.0报错 HOT 1
- 并发并且多SaSignConfig配置的情况下签名失败 HOT 1
- 多账号认证 OAuth2中 setSaOAuth2Config 中使用自定义StpUserUtil登录失效
- token过期抛出的异常问题
- Spring Cloud Gateway 2022已经使用reactor-core 3.x,WebFlux框架高度依赖Reactor,**建议保持和 Gateway Reactor版本同步** HOT 2
- 会话查询功能结果顺序每次返回都不同
- Stateless模式的JWT使用方式 logout没有事件推送吗?
- 未能获取有效的上下文 HOT 1
- StpUtil.getTokenInfo()的isLogin在退出后显示不正确
- JDK17之后 javax 的依赖名称全部改为 jakarta HOT 1
- jwt模式无效token没有抛出token无效的异常
- API接口验签 bug HOT 2
- 在非 web 场景中使用 SaStorage 不得不处理 SaTokenContext 这极其不合理 Storage 不应与Request和Response 捆绑
- sa-token1.38.0的插件不支持dubbo3.1版本
- 自动刷新续签
- Spring cloud Gateway中,配置全局过滤器,但是断点之后不走全局过滤器
- 网关内部微服务隔离采用SaSameUtil.getToken()报redis连接错误
- 有考虑适配Ktor框架吗?
- SSO登录以后可以进行单个client注销登录吗?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sa-token.