Spring Security, 3rd Edition: Secure your web applications, RESTful services, and microservice architectures Front Cover

Spring Security, 3rd Edition: Secure your web applications, RESTful services, and microservice architectures

  • Length: 542 pages
  • Edition: 3rd Revised edition
  • Publisher:
  • Publication Date: 2017-11-28
  • ISBN-10: 1787129519
  • ISBN-13: 9781787129511
  • Sales Rank: #1308928 (See Top 100 Books)
Description

Learn how to secure your Java applications from hackers using Spring Security 4.2

About This Book

  • Architect solutions that leverage the full power of Spring Security while remaining loosely coupled.
  • Implement various scenarios such as supporting existing user stores, user sign up, authentication, and supporting AJAX requests,
  • Integrate with popular Microservice and Cloud services such as Zookeeper, Eureka, and Consul, along with advanced techniques, including OAuth, JSON Web Token’s (JWS), Hashing, and encryption algorithms

Who This Book Is For

This book is intended for Java Web and/or RESTful webservice developers and assumes a basic understanding of creating Java 8, Java Web and/or RESTful webservice applications, XML, and the Spring Framework. You are not expected to have any previous experience with Spring Security.

What You Will Learn

  • Understand common security vulnerabilities and how to resolve them
  • Learn to perform initial penetration testing to uncover common security vulnerabilities
  • Implement authentication and authorization
  • Learn to utilize existing corporate infrastructure such as LDAP, Active Directory, Kerberos, CAS, OpenID, and OAuth
  • Integrate with popular frameworks such as Spring, Spring-Boot, Spring-Data, JSF, Vaaden, jQuery, and AngularJS.
  • Gain deep understanding of the security challenges with RESTful webservices and microservice architectures
  • Integrate Spring with other security infrastructure components like LDAP, Apache Directory server and SAML

In Detail

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 existing code, new technologies, and other frameworks. Use this book to easily secure your Java application with the tried and trusted Spring Security framework, a powerful and highly customizable authentication and access-control framework.

The book starts by integrating a variety of authentication mechanisms. It then demonstrates 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.

It concludes with advanced security scenarios for RESTful webservices and microservices, detailing the issues surrounding stateless authentication, and demonstrates a concise, step-by-step approach to solving those issues. And, by the end of the book, readers can rest assured that integrating version 4.2 of Spring Security will be a seamless endeavor from start to finish.

Style and approach

This practical step-by-step tutorial has plenty of example code coupled with the necessary screenshots and clear narration so that grasping content is made easier and quicker.

Table of Contents

Chapter 1: Anatomy Of An Unsafe Application
Chapter 2: Getting Started With Spring Security
Chapter 3: Custom Authentication
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
Chapter 9: Opening Up To Oauth 2
Chapter 10: Single Sign-On With The Central Authentication Service
Chapter 11: Fine-Grained Access Control
Chapter 12: Access Control Lists
Chapter 13: Custom Authorization
Chapter 14: Session Management
Chapter 15: Additional Spring Security Features
Chapter 16: Migration To Spring Security 4.2
Chapter 17: Microservice Security With Oauth 2 And Json Web Tokens
Chapter 18: Additional Reference Material

To access the link, solve the captcha.