Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Spring Security
  • Toc
  • feedback
Spring Security

Spring Security

By : Badr Nasslahsen
5 (4)
close
Spring Security

Spring Security

5 (4)
By: Badr Nasslahsen

Overview of this book

With experienced hackers constantly targeting apps, properly securing them becomes challenging when you integrate this factor with legacy code, new technologies, and other frameworks. Written by a Lead Cloud and Security Architect as well as CISSP, this book helps you easily secure your Java apps with Spring Security, a trusted and highly customizable authentication and access control framework. The book shows you how to implement different authentication mechanisms and properly restrict access to your app. You’ll learn to integrate Spring Security with popular web frameworks like Thymeleaf and Microservice and Cloud services like Zookeeper and Eureka, along with architecting solutions that leverage its full power while staying loosely coupled. You’ll also see how Spring Security defends against session fixation, moves into concurrency control, and how you can use session management for administrative functions. This fourth edition aligns with Java 17/21 and Spring Security 6, covering advanced security scenarios for RESTful web services and microservices. This ensures you fully understand the issues surrounding stateless authentication and discover a concise approach to solving those issues. By the end of this book, you’ll be able to integrate Spring Security 6 with GraalVM native images seamlessly, from start to finish.
Table of Contents (28 chapters)
close
Free Chapter
1
Part 1: Fundamentals of Application Security
chevron up
5
Part 2: Authentication Techniques
11
Part 3: Exploring OAuth 2 and SAML 2
14
Part 4: Enhancing Authorization Mechanisms
18
Part 5: Advanced Security Features and Deployment Optimization

Part 1: Fundamentals of Application Security

This part delves into the foundational aspects of application security, laying the groundwork for understanding potential vulnerabilities. We embark on a comprehensive exploration of application security using Spring Security. This part introduces you to the process of conducting a security audit on a hypothetical calendar application. Through this audit, we uncover common security vulnerabilities and lay the groundwork for implementing robust security measures.

Building upon this foundation, this part guides you through the installation and configuration of Spring Security. We start with a basic "Hello World" example, gradually customizing Spring Security to suit the specific needs of our application.

We will also delve deeper into the authentication process within Spring Security. By customizing key components of the authentication infrastructure, we address real-world authentication challenges and gain a comprehensive understanding of Spring Security’s authentication mechanisms. Through practical examples and hands-on exercises, we learn how to integrate custom authentication solutions seamlessly into our applications.

This part has the following chapters:

bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete