June 2014
Beginner to intermediate
304 pages
7h 25m
English
At the start of this chapter, we saw how to serve and process web forms. In that exercise, we created a web page to add products. Anyone with access to the add products page can add new products to our web store. However, in a typical web store, only the administrator can add products. So, how do we restrict other users from accessing the add products page? There comes Spring Security to help us.
Spring Security is a vast topic, so we are not going to see all of the capabilities of Spring Security; instead, we are only going to see how to add basic authentication to our web pages.
Read now
Unlock full access