The Spring Boot application that we created in Chapter 4, Securing and Testing Your Backend, (GitHub: https://github.com/PacktPublishing/Hands-On-Full-Stack-Development-with-Spring-Boot-2.0-and-React/tree/master/Chapter%204).
The React app that we used in the previous chapter (GitHub: https://github.com/PacktPublishing/Hands-On-Full-Stack-Development-with-Spring-Boot-2.0-and-React/tree/master/Chapter%2011).
We have implemented CRUD functionalities to our frontend using an unsecured backend. Now, it is time to switch on security again for our backend and go back to the version that we created in Chapter 4, Securing and Testing Your Backend:
- Open your backend project with the Eclipse IDE and open the
SecurityConfig.java
file in the editor view. We commented the security out and allowed everyone access to all endpoints. Now, we can remove that line and also remove the comments from the original version. Now yourSecurityConfig.java
file'sconfigure
method...