![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JWT
yzhSWJ
一个爱小猪的程序员
展开
-
Jwt权限
//除了以上名单,都来jwt验证一下 filterChainDefinitionMap.put("/**", "jwt,authc");原创 2021-12-30 15:10:34 · 538 阅读 · 0 评论 -
整合JWT生成token/及使用
1、在模块中添加jwt工具依赖 pom <dependencies> <!-- JWT--> <dependency> <groupId>io.jsonwebtoken</groupId> <artifactId>jjwt</artifactId> </dependency> </dependencies> 2、创建JWT工具类 package原创 2020-06-09 11:37:24 · 317 阅读 · 0 评论