在shiro框架中,将HttpServletRequest封装成了 ShiroHttpServletRequest,通过
httpServletRequest.getSession()或者
SecurityUtils.getSubject().getSession()
都可以获得httpsession对象。
在shiro框架中,将HttpServletRequest封装成了 ShiroHttpServletRequest,通过
httpServletRequest.getSession()或者
SecurityUtils.getSubject().getSession()
都可以获得httpsession对象。