Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

springboot-jwt-demo

> 后端框架
Open source

这是一个使用了springboot+springSecurity+jwt实现的基于token的权限管理的一个demo

683 stars0 likes0 views
WebsiteGitHub

About

这是一个使用了springboot+springSecurity+jwt实现的基于token的权限管理的一个demo

springboot-jwt-demo

简介

这是一个使用了springboot+springSecurity+jwt实现的基于token的权限管理的一个demo

具体说明可以看 这里

使用

更改一下application.properites的数据库的一些配置信息,然后就可以运行了

首先注册的url是/auth/register 参数很简单就username,password

然后登陆是/auth/login

参数名称 类型 说明
username String 用户名
password String 密码
rememberMe Interge 记住我,只有两个值可以选,0:不记住,1:记住

推荐使用postman去测试,登陆成功后在响应头里可以找到token

之后就可以访问/tasks了

鸣谢

IntelliJ IDEA 是一个在各个方面都最大程度地提高开发人员的生产力的 IDE, 适用于 JVM 平台语言。

特别感谢 JetBrains 为开源项目提供免费的 IntelliJ IDEA 等 IDE 的授权

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Javajwt-authjwt-tokenspringbootspringsecurity

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category后端框架
PricingOpen source

> Related tools

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架