© Iuliana Cosmina, Rob Harrop, Chris Schaefer, and Clarence Ho 2023
I. Cosmina et al.Pro Spring 6https://doi.org/10.1007/978-1-4842-8640-1_17

17. Securing Spring Web Applications

Iuliana Cosmina1  , Rob Harrop2, Chris Schaefer3 and Clarence Ho4
(1)
Kirkcaldy, UK
(2)
Reddish, UK
(3)
Venice, FL, USA
(4)
Hong Kong, China
 

Chapter 14 explained how to build a Spring web application using classic, “manual”-style configuration and using Spring Boot with Thymeleaf. This chapter will take the application built in Chapter 14 and add a security layer that will declare which users are allowed to access various parts of the application. For example, only those users who logged into the application with a valid user ID can add a new singer or update existing singers. ...

Get Pro Spring 6: An In-Depth Guide to the Spring Framework now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.