{"id":13694490,"url":"https://github.com/echisan/springboot-jwt-demo","last_synced_at":"2026-01-16T17:23:54.171Z","repository":{"id":48165744,"uuid":"138420286","full_name":"echisan/springboot-jwt-demo","owner":"echisan","description":"这是一个使用了springboot+springSecurity+jwt实现的基于token的权限管理的一个demo","archived":false,"fork":false,"pushed_at":"2021-03-05T10:17:00.000Z","size":241,"stargazers_count":688,"open_issues_count":5,"forks_count":253,"subscribers_count":18,"default_branch":"master","last_synced_at":"2024-11-12T21:38:44.333Z","etag":null,"topics":["jwt-auth","jwt-token","springboot","springsecurity"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/echisan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-23T17:19:44.000Z","updated_at":"2024-09-30T07:23:24.000Z","dependencies_parsed_at":"2022-08-16T01:30:27.040Z","dependency_job_id":null,"html_url":"https://github.com/echisan/springboot-jwt-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/echisan%2Fspringboot-jwt-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/echisan%2Fspringboot-jwt-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/echisan%2Fspringboot-jwt-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/echisan%2Fspringboot-jwt-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/echisan","download_url":"https://codeload.github.com/echisan/springboot-jwt-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252144247,"owners_count":21701371,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["jwt-auth","jwt-token","springboot","springsecurity"],"created_at":"2024-08-02T17:01:33.475Z","updated_at":"2026-01-16T17:23:54.164Z","avatar_url":"https://github.com/echisan.png","language":"Java","readme":"# springboot-jwt-demo\n\n## 简介\n这是一个使用了springboot+springSecurity+jwt实现的基于token的权限管理的一个demo\n\n具体说明可以看 **[这里](https://github.com/echisan/springboot-jwt-demo/blob/master/blog_content.md)**\n\n## 使用\n更改一下`application.properites`的数据库的一些配置信息，然后就可以运行了\n\n首先注册的url是`/auth/register`\n参数很简单就`username`,`password`\n\n然后登陆是`/auth/login`\n\n参数名称 | 类型 | 说明\n------- | ---- | ----\nusername | String | 用户名\npassword | String | 密码\nrememberMe | Interge | 记住我，只有两个值可以选，0:不记住，1:记住\n\n推荐使用postman去测试，登陆成功后在响应头里可以找到token\n\n之后就可以访问`/tasks`了\n\n## 鸣谢\n\n\u003e IntelliJ IDEA 是一个在各个方面都最大程度地提高开发人员的生产力的 IDE, 适用于 JVM 平台语言。\n\n特别感谢 [JetBrains](https://www.jetbrains.com/?from=springboot-jwt-demo) 为开源项目提供免费的 [IntelliJ IDEA](https://www.jetbrains.com/idea/?from=springboot-jwt-demo) 等 IDE 的授权  \n[\u003cimg src=\".github/jetbrains-variant-3.png\" width=\"200\"/\u003e](https://www.jetbrains.com/?from=springboot-jwt-demo)\n","funding_links":[],"categories":["Java"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fechisan%2Fspringboot-jwt-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fechisan%2Fspringboot-jwt-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fechisan%2Fspringboot-jwt-demo/lists"}