推荐书单:hisenyuan.github.io
摘要: 网址:https://hisen.me (powered by hexo hosted by gitpage) 搜索:hisenyuan (百度 & 谷歌) 阅读全文
posted @ 2020-09-16 10:24 hisenyuan 阅读(229) 评论(0) 推荐(0) 编辑
摘要: JWT简介 jwt非常适合前后分离 和 分布式的应用 不必在服务端存储session,本地也不用存储cookie 直接存两段信息即可 可以把认证相关的信息都存储在里面,添加拦截去进行校验即可 JWT认证流程: 1. 用户登录成功,生成token,返回一个对象(包含token,用户名) 2. 每次请求 阅读全文
posted @ 2017-08-27 19:49 hisenyuan 阅读(1613) 评论(0) 推荐(0) 编辑
摘要: 拦截器中增加针对静态资源不进行过滤(涉及spring mvc.xml) 使用默认的静态资源处理Servlet处理静态资源(涉及spring mvc.xml, web.xml) spring mvc.xml中启用默认Servlet web.xml中增加对静态资源的处理 修改Spring的全局拦截设置为 阅读全文
posted @ 2017-08-27 19:36 hisenyuan 阅读(3778) 评论(0) 推荐(0) 编辑
摘要: SSM_BookSystem SSM框架基础 SSM_BookSystem > Hello CRUD 说明:本项目目前包含基础的CRUD 日期:2017-05-01 22:25:37 作者:hisenyuan 网站:hisen.me 源码:https://github.com/hisenyuan/S 阅读全文
posted @ 2017-05-03 10:06 hisenyuan 阅读(9828) 评论(3) 推荐(0) 编辑