This commit is contained in:
dinggang 2022-07-28 17:30:13 +08:00
parent 645368398d
commit 0628d738c4
1 changed files with 3 additions and 1 deletions

View File

@ -42,7 +42,9 @@ public class ShiroConfig {
@Bean
public DefaultWebSessionManager sessionManager() {
return new ShiroSessionManager();
ShiroSessionManager sessionManager = new ShiroSessionManager();
sessionManager.setGlobalSessionTimeout(-1000L);
return sessionManager;
}
@Bean("securityManager")