shiro 不执行授权方法 doGetAuthorizationInfo() 如何清理权限缓存

文章封面
摘要: 直接清理@Autowiredprivate AuthRealm authRealm;authRealm.onLogout(SecurityUtils.getSubject().getPrincipal

直接清理

@Autowired
private AuthRealm authRealm;authRealm.onLogout(SecurityUtils.getSubject().getPrincipals());
158 阅读 ← 返回技术栈
图片放大