© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
P. Späth et al.Pro Spring 6 with Kotlinhttps://doi.org/10.1007/978-1-4842-9557-1_17

17. Securing Spring Web Applications

Peter Späth1  , Iuliana Cosmina2, Rob Harrop3 and Chris Schaefer4
(1)
Leipzig, Sachsen, Germany
(2)
Edinburgh, UK
(3)
Reddish, UK
(4)
Venice, FL, USA
 

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 ...

Get Pro Spring 6 with Kotlin: An In-depth Guide to Using Kotlin APIs in Spring Framework 6 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.