A demonstration to understand the very basics of JSON Web Tokens
The Sign-On Service authenticates and, if authentication is successful, provides a JWT for the requester. This is very basic and just for demonstration purposes - a more likely solution is KeyCloak.
cd jwt\signon
mvn package
The Greeting Service provides resources, access to some of which is controlled by JWT authorisation.
cd jwt\greeting
mvn package
The Demo Service provides some explanation on the basics of JWT and provides test-points for the services.
Nothing to do
cd jwt
docker-compose up --build
The Demo Service is available from: GET http://localhost:7200
Sign-On Service: GET http://localhost:7000/swagger-ui
Greeting Service: GET http://localhost:7100/swagger-ui