4 Managing passwords
This chapter covers
- Implementing and working with the
PasswordEncoder
- Using the tools offered by the Spring Security Crypto module
In chapter 3, we discussed managing users in an application implemented with Spring Security. But what about passwords? They’re certainly an essential piece of the authentication flow. In this chapter, you’ll learn how to manage passwords and secrets in an application implemented with Spring Security. We’ll discuss the PasswordEncoder
contract and the tools offered by the Spring Security Crypto module (SSCM) for the management of passwords.
4.1 Using password encoders
From chapter 3, you should now have a clear image of what the UserDetails
interface is, as well as multiple ways to use its implementation. ...
Get Spring Security in Action, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.