We'll now walk through a basic extension to the in-memory
UserDetailsService that allows a user to change their password. While this feature will be more useful when usernames and passwords are stored in the database, implementing it with an extension to the
o.s.s.core.userdetails.memory.InMemoryDaoImpl will allow us to focus not on the storage mechanism, but the overall flow and design of this type of extension to the framework. In Chapter 4, we'll be extending our baseline further by moving to a database-backed credential store.
InMemoryDaoImpl in-memory credential store supplied with the Spring Security framework uses a simple map to ...