Skip to content

diablordking/JWT-Security

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JWT-Security

Spring Security using JWT (Json Web Token) in Spring Boot This Project uses JWT to secure the REST endpoints.

The Following are the REST end points available in the example.

  • /token - Generates the JWT token based on the JSON sent. Its a POST method which expects the JSON: { "username": "name", "id": 123, "role": "admin"}
  • /rest/hello - Requires a JWT Token with Header key - "Authorisation" and value - "Token <JWT_Token>"

About

Spring Boot JWT Security Sample

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages