摘要: 也许是开发工具的原因,将pom文件中的响应依赖去掉重新导入,再添加上依赖导入就可以正常解析了。 阅读全文
posted @ 2020-12-17 13:58 复一日 阅读(879) 评论(0) 推荐(0) 编辑
摘要: spring security 如何保存我们的登录信息。 根据官方文档我们可以知道通过登录验证(AuthenticationProvider.authenticate(Authentication authentication)方法中验证,返回一个Authentication->UsernamePa 阅读全文
posted @ 2020-12-17 11:16 复一日 阅读(464) 评论(0) 推荐(0) 编辑
摘要: jsessionID java web为了确保请求是同一个会话发生的,采取Session机制,即将sessionid存储在浏览器客户端Cookie,session对象实例存储在服务器端,请求发生时,HttpServletRequest对象将sessionId传入服务器端,服务器端通过sessionI 阅读全文
posted @ 2020-12-17 09:36 复一日 阅读(1009) 评论(0) 推荐(0) 编辑