# spring-security-jwt-guide **Repository Path**: mcjeremy/spring-security-jwt-guide ## Basic Information - **Project Name**: spring-security-jwt-guide - **Description**: 从零入门 !Spring Security With JWT(含权限验证)。 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 134 - **Created**: 2019-09-27 - **Last Updated**: 2022-05-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # spring-security-jwt-guide ## Setup 1. git clone https://github.com/Snailclimb/spring-security-jwt-guide.git 2. open project and wait maven to install project Dependencies 3. change `application.properties` change the database connection information parameter to your own ## Example ### 1.Register an account ![Register](https://my-blog-to-use.oss-cn-beijing.aliyuncs.com/2019-7/1-register.png) ### 2.Login ![Login](https://my-blog-to-use.oss-cn-beijing.aliyuncs.com/2019-7/2-login.png) ### 3.Access resources that require authentication with the correct token ![Access resources that require authentication](https://my-blog-to-use.oss-cn-beijing.aliyuncs.com/2019-7/3-visit-authenticated-resourse-have-token.png) ### 4.Access resources that require authentication without token ![Access resources that require authentication without token](https://my-blog-to-use.oss-cn-beijing.aliyuncs.com/2019-7/4-visit-authenticated-resourse-not-have-token.png) ### 5.Access resources that require authentication with not correct token ![](https://my-blog-to-use.oss-cn-beijing.aliyuncs.com/2019-7/5-visit-authenticated-resourse-not-have-valid-token.png) ## Reference - https://dev.to/keysh/spring-security-with-jwt-3j76