随笔 - 221  文章 - 0  评论 - 57  阅读 - 162万 
09 2022 档案
JWT生成Token
摘要:Jar包引入 <dependency> <groupId>com.auth0</groupId> <artifactId>java-jwt</artifactId> <version>4.0.0</version> </dependency> Java代码示例: public class JwtTo 阅读全文
posted @ 2022-09-30 13:58 玄同太子 阅读(740) 评论(0) 推荐(0) 编辑
Springboot项目如何创建Filter
摘要:方式一:使用@WebFilter+@ServletComponentScan 1)创建类com.zhi.demo.filter.CustomFilter1,添加注解@WebFilter(urlPatterns = { "/test1/*" }),urlPatterns表示需要过滤的地址 @WebFi 阅读全文
posted @ 2022-09-28 16:40 玄同太子 阅读(251) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示