
Spring Security
By :

Spring Security
By:
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)
Preface
Part 1: Fundamentals of Application Security
Chapter 1: Anatomy of an Unsafe Application
Chapter 2: Getting Started with Spring Security
Chapter 3: Custom Authentication
Part 2: Authentication Techniques
Chapter 4: JDBC-based Authentication
Chapter 5: Authentication with Spring Data
Chapter 6: LDAP Directory Services
Chapter 7: Remember-me Services
Chapter 8: Client Certificate Authentication with TLS
Part 3: Exploring OAuth 2 and SAML 2
Chapter 9: Opening up to OAuth 2
Chapter 10: SAML 2 Support
Part 4: Enhancing Authorization Mechanisms
Chapter 11: Fine-Grained Access Control
Chapter 12: Access Control Lists
Chapter 13: Custom Authorization
Part 5: Advanced Security Features and Deployment Optimization
Chapter 14: Session Management
Chapter 15: Additional Spring Security Features
Chapter 16: Migration to Spring Security 6
Chapter 17: Microservice Security with OAuth 2 and JSON Web Tokens
Chapter 18: Single Sign-On with the Central Authentication Service
Chapter 19: Build GraalVM Native Images
Index
Other Books You May Enjoy
Appendix – Additional Reference Material
How would like to rate this book
Customer Reviews