O'Reilly logo

Spring Security 3 by Peter Mularien

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Implementing password change management

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.

Extending the in-memory credential store to support password change

The InMemoryDaoImpl in-memory credential store supplied with the Spring Security framework uses a simple map to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required