bugfix
This commit is contained in:
parent
645368398d
commit
0628d738c4
|
@ -42,7 +42,9 @@ public class ShiroConfig {
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
public DefaultWebSessionManager sessionManager() {
|
public DefaultWebSessionManager sessionManager() {
|
||||||
return new ShiroSessionManager();
|
ShiroSessionManager sessionManager = new ShiroSessionManager();
|
||||||
|
sessionManager.setGlobalSessionTimeout(-1000L);
|
||||||
|
return sessionManager;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Bean("securityManager")
|
@Bean("securityManager")
|
||||||
|
|
Loading…
Reference in New Issue