The blog is originally published on my blog jsblogs.github.io
This blog post will demonstrate the spring-security with JWT token based login without using OAuth. In some use-cases where you require stateless/token based login
but doesn't want to go with OAuth for any reason, the JWT based login is useful.
The source code for tutorial can be found here.