https://github.com/hemantsonu20/spring-jwt-security
A spring security implementation with Json Web Token.
https://github.com/hemantsonu20/spring-jwt-security
jwt jwt-auth jwt-authentication jwt-token maven spring-boot spring-security springboot springframework
Last synced: about 1 month ago
JSON representation
A spring security implementation with Json Web Token.
- Host: GitHub
- URL: https://github.com/hemantsonu20/spring-jwt-security
- Owner: hemantsonu20
- Created: 2017-01-05T07:30:36.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-23T16:39:28.000Z (over 9 years ago)
- Last Synced: 2025-03-18T17:28:21.728Z (about 1 year ago)
- Topics: jwt, jwt-auth, jwt-authentication, jwt-token, maven, spring-boot, spring-security, springboot, springframework
- Language: Java
- Homepage:
- Size: 56.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# spring-jwt-security
A spring security implementation with Json Web Token.
This repository includes three modules.
* **common-lib** A shared common library includes some common security configuration.
* **jwt-token-service** A service which issues token. One need to provide a username / password to the [LoginInfoController](jwt-token-service/src/main/java/com/github/spring/user/controller/LoginController.java) and it will generate jwt token. Currently username / password is hard coded in [application.properties](jwt-token-service/src/main/resources/application.properties) for simplicity.
* **resource-service** A service which resources are protected. See [ResourceController](resource-service/src/main/java/com/github/spring/resource/controller/ResourceController.java) for more details.