Spring Security in Action you own this product

Laurentiu Spilca
  • October 2020
  • ISBN 9781617297731
  • 560 pages

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!


5, 10 or 20 seats+ for your team - learn more

Look inside
While creating secure applications is critically important, it can also be tedious and time-consuming to stitch together the required collection of tools. For Java developers, the powerful Spring Security framework makes it easy for you to bake security into your software from the very beginning. Filled with code samples and practical examples, Spring Security in Action teaches you how to secure your apps from the most common threats, ranging from injection attacks to lackluster monitoring. In it, you'll learn how to manage system users, configure secure endpoints, and use OAuth2 and OpenID Connect for authentication and authorization.

about the technology

Security is non-negotiable. You rely on Spring applications to transmit data, verify credentials, and prevent attacks. Adopting "secure by design" principles will protect your network from data theft and unauthorized intrusions.

about the book

Spring Security in Action shows you how to prevent cross-site scripting and request forgery attacks before they do damage. You’ll start with the basics, simulating password upgrades and adding multiple types of authorization. As your skills grow, you'll adapt Spring Security to new architectures and create advanced OAuth2 configurations. By the time you're done, you'll have a customized Spring Security configuration that protects against threats both common and extraordinary.

what's inside

  • Encoding passwords and authenticating users
  • Securing endpoints
  • Automating security testing
  • Setting up a standalone authorization server

about the reader

For experienced Java and Spring developers.

about the author

Laurențiu Spilcă is a dedicated development lead and trainer at Endava, with over ten years of Java experience.

An indispensable guide to Spring Security that belongs on the desk of every serious Spring developer.

Nathan B. Crocker, Galaxy Digital

A gold mine of knowledge, sound advice, and practical applications. I wish I had something like this years ago when I was learning about Spring Security.

Alain Lompo, ISO-Gruppe

Everything you need to know about Spring Security to protect your Java enterprise applications from common threats and attacks.

Harinath Kuntamukkala, Cognizant Technology Solutions

The definitive guide to secure your Spring applications. A must-read.

Ubaldo Pescatore, Generali Business Solutions