In this talk, I show how to use JWTs in two code examples. The first replaces the standard Spring Security CSRF (cross site request forgery) token mitigation with a JWT version. The second is a basic microservices example that demonstrates how to establish trust between two microservices using JWTs.
References for the source-code, this desk, and other resources can be found at: https://github.com/dogeared/JavaRoadStorm_CactusCon_2017