SpringBoot Security+JWT授权验证模块使用_jwtauthenticationfilter-CSDN博客

网站介绍:简介通过JWT每次请求带上token可以进行无状态登录,不必保存Session等。创建在IDEA中使用Spring Initializr创建一个Security项目,注意,创建之后maven是不可用的,还需要添加maven支持,模块右键,Add Framework Support,选择maven。依赖添加JWT依赖,和一个web依赖包,毕竟要用来登录认证。 <!--jwt--> <dependency> <groupId>io.jsonwebtok_jwtauthenticationfilter