As mentioned earlier, a better way to understand how Spring Security works is to see it in action. In this section, we will try to access the register page, /register, and the home page, /. Since we haven't implemented the login page, the requests we send will be unauthenticated. So, we will be able to review the following two requests at the moment:
- An unauthenticated request accessing a public resource
- An unauthenticated request accessing a protected resource