In this chapter, you will learn about concepts related to Spring Security, such as authentication, authorization, CSRF protection and so on. The concepts related with OAuth2 based authentication and authorization has been dealt in later part of the chapter. You will learn about how to use OAuth2 based authentication and authorization for Angular and Spring web app. Following are some of the topics covered in this chapter:
- Introduction to Spring Security
- Handling the login authentication
- CSRF protection for API requests
- Handling the logout request
- OAuth2 based authentication/authorization