front matter

 

foreword

I first got to know Laurențiu Spilcă in 2022, when we virtually collaborated on a SpringOne presentation, and I was happy to finally meet him in person at Devoxx 2023 in Belgium. I was excited when he asked me to write this foreword. I’ll start with an excerpt from the book:

“Applying a framework incorrectly leads to a less maintainable application. What is worse, sometimes those who fail in using the framework believe that it’s the framework’s fault.”

This is such an important message! Over the years, I’ve gotten feedback from the community on several occasions that Spring Security is difficult to understand and has a steep learning curve. Whether or not that is the case, if you dive deep into the framework internals and really gain a profound understanding of the authentication architecture, you will learn how to take advantage of the framework’s capabilities, and ultimately, it will become easier to use. This is where the book truly hammers it home and dives deep into Spring Security’s authentication architecture, providing clear diagrams accompanied by detailed explanations of each of the main components that collaborate in the authentication-processing flow.

Throughout the book, Laurențiu makes clever use of analogies to help simplify the topic at hand. I really like the analogy used in the authentication architecture section, as he sums it up nicely:

preface

acknowledgments

about this book

Who should read this book?

How this book is organized: A roadmap

About the code

liveBook discussion forum

about the author

about the cover illustration