3 Managing users

This chapter covers

  • Describing a user with the UserDetails interface

  • Using the UserDetailsService in the authentication flow

  • Creating a custom implementation of UserDetailsService

  • Creating a custom implementation of UserDetailsManager

  • Using the JdbcUserDetailsManager in the authentication flow

One of my colleagues from the university cooks pretty well. He’s not a chef in a fancy restaurant, but he’s quite passionate about cooking. One day, when sharing thoughts in a discussion, I asked him about how he manages to remember so many recipes. He told me that’s easy. “You don’t have to remember the whole recipe, but the way basic ingredients match with each other. It’s like some real-world contracts that tell you what ...

Get Spring Security in Action 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.