Spring Security - Fourth Edition: Effectively secure your web apps, RESTful services, cloud apps, and microservice architectures
商品資訊
ISBN13:9781835460504
出版社:PACKT PUB
作者:Badr Nasslahsen
出版日:2024/06/28
裝訂:平裝
規格:23.5cm*19.1cm*3.1cm (高/寬/厚)
版次:4
商品簡介
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
Knowing that experienced hackers are constantly on the prowl to attack your apps can make security one of the most challenging concerns of creating an app. The complexity of properly securing an app is compounded when you must also integrate this factor with legacy code, new technologies, and other frameworks. This book will help you easily secure your Java apps with Spring Security, a trusted and highly customizable authentication and access control framework.
The book starts by showing you how to implement different authentication mechanisms before demonstrating how to properly restrict access to your app. You'll then cover tips for integrating Spring Security with popular web frameworks such as Thymeleaf. The book also features an example of 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 gain a complete understanding of 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
主題書展
更多書展今日66折
您曾經瀏覽過的商品
購物須知
外文書商品之書封,為出版社提供之樣本。實際出貨商品,以出版社所提供之現有版本為主。部份書籍,因出版社供應狀況特殊,匯率將依實際狀況做調整。
無庫存之商品,在您完成訂單程序之後,將以空運的方式為你下單調貨。為了縮短等待的時間,建議您將外文書與其他商品分開下單,以獲得最快的取貨速度,平均調貨時間為1~2個月。
為了保護您的權益,「三民網路書店」提供會員七日商品鑑賞期(收到商品為起始日)。
若要辦理退貨,請在商品鑑賞期內寄回,且商品必須是全新狀態與完整包裝(商品、附件、發票、隨貨贈品等)否則恕不接受退貨。