🎨 关闭 shiro RememberMe 功能
This commit is contained in:
parent
fed695f98f
commit
1ddbfdfd57
@ -64,6 +64,7 @@ public class ShiroConfig {
|
|||||||
public SecurityManager securityManager() {
|
public SecurityManager securityManager() {
|
||||||
DefaultWebSecurityManager defaultWebSecurityManager = new DefaultWebSecurityManager();
|
DefaultWebSecurityManager defaultWebSecurityManager = new DefaultWebSecurityManager();
|
||||||
defaultWebSecurityManager.setRealm(baseShiroRealm());
|
defaultWebSecurityManager.setRealm(baseShiroRealm());
|
||||||
|
defaultWebSecurityManager.setRememberMeManager(null);
|
||||||
return defaultWebSecurityManager;
|
return defaultWebSecurityManager;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user