Winter and Spring on the Shores of the Mediterranean ... Fourth edition.
Leverage the power of Spring Security 6 to protect your modern Java applications from hackers
Key Features
- Architect solutions that leverage Spring Security while remaining loosely coupled
- Implement authentication and authorization with SAML2, OAuth 2, hashing, and encryption algorithms
- Integrate Spring Security with technologies such as microservices, Kubernetes, the cloud, and GraalVM native images
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description
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.
What you will learn
- Understand common security vulnerabilities and how to resolve them
- Implement authentication and authorization and learn how to map users to roles
- Integrate Spring Security with LDAP, Kerberos, SAML 2, OpenID, and OAuth
- Get to grips with the security challenges of RESTful web services and microservices
- Configure Spring Security to use Spring Data for authentication
- Integrate Spring Security with Spring Boot, Spring Data, and web applications
- Protect against common vulnerabilities like XSS, CSRF, and Clickjacking
Who this book is for
If you're a Java web developer or an architect with fundamental knowledge of Java 17/21, web services, and the Spring Framework, this book is for you. No previous experience with Spring Security is needed to get started with this book.
Table of Contents
- Anatomy of an Unsafe Application
- Getting Started with Spring Security
- Custom Authentication
- JDBC-based Authentication
- Authentication with Spring Data
- LDAP Directory Services
- Remember-me Services
- Client Certificate Authentication with TLS
- Opening up to OAuth 2
- SAML 2 Support
- Fine-Grained Access Control
- Access Control Lists
- Custom Authorization
- Session Management
- Additional Spring Security Features
- Migration to Spring Security 6
- Microservice Security with OAuth 2 and JSON Web Tokens
- Single Sign-On with the Central Authentication Service
- Build GraalVM Native Images
- Appendix - Additional Reference Material
Discover your next great read at BookLoop, Australiand online bookstore offering a vast selection of titles across various genres and interests. Whether you're curious about what's trending or searching for graphic novels that captivate, thrilling crime and mystery fiction, or exhilarating action and adventure stories, our curated collections have something for every reader. Delve into imaginative fantasy worlds or explore the realms of science fiction that challenge the boundaries of reality. Fans of contemporary narratives will find compelling stories in our contemporary fiction section. Embark on epic journeys with our fantasy and science fiction titles,
Explore our new releases for the most recent additions in romance books, fantasy books, graphic novels, crime and mystery books, science fiction books as well as biographies, cookbooks, self help books, tarot cards, fortunetelling and much more. With titles covering current trends, booktok and bookstagram recommendations, and emerging authors, BookLoop remains your go-to local australian bookstore for buying books online across all book genres.
Stay updated with the literary world by browsing our trending books, featuring the latest bestsellers and critically acclaimed works. Explore titles from popular brands like Minecraft, Pokemon, Star Wars, Bluey, Lonely Planet, ABIA award winners, Peppa Pig, and our specialised collection of ADHD books. At BookLoop, we are committed to providing a diverse and enriching reading experience for all.
If you have any questions before making a purchase chat with our online operators to get more information.
or find our Questions & Answers