Summary
In this chapter, you have learned about JWTs, Spring Security, authentication using filters, and JWT token validation using filter and authentication with Spring OAuth 2.0 Resource Server. You have also learned how you can add CORS and CSRF protection and why these are necessary.
You have also learned about access protection based on roles and authorities. You have now got the skills to implement JWTs, Spring Security, and Spring Security OAuth 2.0 Resource Server to protect your web resources.
In the next chapter, you will develop a sample e-commerce app's UI using the Spring Security framework and APIs used in this chapter. This integration will allow you to understand the UI flows and how to consume REST APIs using JavaScript.