All Projects → echisan → Springboot Jwt Demo

echisan / Springboot Jwt Demo

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

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Springboot Jwt Demo

Jwt Spring Security Jpa
Backend MVP showcasing JWT (Json Web Token) authentication with multiple login, timeout / refresh / logout (with in memory invalidation) using Spring Security & MySQL JPA.
Stars: ✭ 202 (-60%)
Mutual labels:  jwt-token, jwt-auth
Quasar-JWT
Quasar - JWT Authentication Starter Kit
Stars: ✭ 38 (-92.48%)
Mutual labels:  jwt-token, jwt-auth
Reallysimplejwt
A really simple library to generate JSON Web Tokens in PHP.
Stars: ✭ 218 (-56.83%)
Mutual labels:  jwt-token, jwt-auth
Jose2go
Golang (GO) implementation of Javascript Object Signing and Encryption specification
Stars: ✭ 150 (-70.3%)
Mutual labels:  jwt-token, jwt-auth
creek
使用Spring Security + JWT Token + RBAC的方式实现认证和授权,持久层使用Mybatis plus。避免每次重复编写认证和授权功能、角色管理、异常处理、参数校验等代码,直接上手业务代码,不再烦恼于构建项目与风格统一。
Stars: ✭ 21 (-95.84%)
Mutual labels:  jwt-token, springboot
Doorkeeper Jwt
JWT Token support for Doorkeeper
Stars: ✭ 174 (-65.54%)
Mutual labels:  jwt-token, jwt-auth
MyAPI
A template to create awesome APIs easily ⚡️
Stars: ✭ 117 (-76.83%)
Mutual labels:  jwt-token, jwt-auth
Spring Examples
SpringBoot Examples
Stars: ✭ 67 (-86.73%)
Mutual labels:  springboot, jwt-token
API-Authentication-NodeJs
API Authentication using JWT's (JSON Web Tokens). Plug n Play inside any app which requires authentication. NodeJs Express MongoDB & Redis.
Stars: ✭ 162 (-67.92%)
Mutual labels:  jwt-token, jwt-auth
NodeScalableArchitecture
A Scalable Node Architecture/Server. This repository contains a complete implementation of writing scalable nodejs server/architecture on my medium blog.
Stars: ✭ 62 (-87.72%)
Mutual labels:  jwt-token, jwt-auth
Laravel Api Boilerplate
A Boilerplate Project For Laravel API's (NOT MAINTAINED)
Stars: ✭ 113 (-77.62%)
Mutual labels:  jwt-token, jwt-auth
hanzo-cloud
SpringCloud(Hoxton.SR5) + SpringBoot(2.3.0.RELEASE)的 SaaS型微服务后端脚手架。授权中心开发完毕。文档地址:https://www.kancloud.cn/hanzo/hanzo
Stars: ✭ 15 (-97.03%)
Mutual labels:  jwt-token, springboot
React Login
A client side implementation of authentication using react.js for my blog on medium. This is the second part of my previous blog on how to implement scalable node.js server.
Stars: ✭ 105 (-79.21%)
Mutual labels:  jwt-token, jwt-auth
Jwtpermission
基于token验证的Java Web权限控制框架,使用jjwt,支持redis和db多种存储方式,可用于前后端分离项目,功能完善、使用简单、易于扩展。
Stars: ✭ 186 (-63.17%)
Mutual labels:  jwt-token, jwt-auth
Laravel Jwt
Laravel with JWT Authentication for API development
Stars: ✭ 31 (-93.86%)
Mutual labels:  jwt-token, jwt-auth
spring-boot-login-example
Spring Boot Login and Registration example with MySQL, JWT, Rest Api - Spring Boot Spring Security Login example
Stars: ✭ 50 (-90.1%)
Mutual labels:  jwt-token, jwt-auth
JwtAuthDemo
ASP.NET Core + Angular JWT auth demo; integration tests; login, logout, refresh token, impersonation, authentication, authorization; run on Docker Compose.
Stars: ✭ 278 (-44.95%)
Mutual labels:  jwt-token, jwt-auth
Jwt
Go JWT signing, verifying and validating
Stars: ✭ 394 (-21.98%)
Mutual labels:  jwt-token, jwt-auth
Gpmall
【咕泡学院实战项目】-基于SpringBoot+Dubbo构建的电商平台-微服务架构、商城、电商、微服务、高并发、kafka、Elasticsearch
Stars: ✭ 4,241 (+739.8%)
Mutual labels:  springboot
Api Boot
“ ApiBoot”是为接口服务而生的,基于“ SpringBoot”完成扩展和自动配置,内部封装了一系列的开箱即用Starters。
Stars: ✭ 460 (-8.91%)
Mutual labels:  springboot

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 的授权

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].