pdf | 47.96 MB | English | Isbn:9781835460115 | Author: Badr Nasslahsen | Year: 2024
About ebook:
Spring Security: Effectively secure your web apps, RESTful services, cloud apps, and microservice architectures Learn how to secure your modern Java applications from hackers using Spring Security 6
• Architect solutions that leverage the full power of Spring Security while remaining loosely coupled
• Implement authentication and authorization with SAML2, OAuth 2, hashing, and encryption algorithms
• Integrate modern technologies such as microservices, Kubernetes, cloud, and GraalVM native images
• Purchase of the print or Kindle book includes a free PDF eBook
Knowing that experienced hackers are itching to test your skills makes security one of the most difficult and high-pressured concerns of creating an application. The complexity of properly securing an application 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 applications with the trusted Spring Security, a powerful and highly customizable authentication and access control framework. The book starts by integrating a variety of authentication mechanisms before demonstrating how to properly restrict access to your application. It also covers tips on integrating with some of the more popular web frameworks. An example of how Spring Security defends against session fixation, moves into concurrency control, and how you can utilize session management for administrative functions is also included. This fourth edition aligns with Java 17/21 and Spring Security 6, covering advanced security scenarios for RESTful web services and microservices, detailing the issues surrounding stateless authentication, and demonstrating a concise approach to solving those issues. By the end of the book, you can rest assured knowing that integrating version 6 of Spring Security with GraalVM native images will be a seamless endeavor from start to finish.
• Understand common security vulnerabilities and how to resolve them
• Implement authentication and authorization and learn how to map users to roles
• Integrate with LDAP, Kerberos, SAML 2, OpenID, and OAuth
• Get to grips with security challenges of RESTful web service and microservices
• Configure Spring Security to use Spring Data for authentication
• Integrate with Spring, Spring Boot, Spring Data, and SPA applications
• Build GraalVM native images with ease
If you are a Java Web and/or RESTful web service developer or architect, and have a basic understanding of creating Java 17/21, Java Web, or RESTful web service applications, XML, and the Spring Framework, this book is for you. No previous experience with Spring Security is needed to get started with this book.