In this video you can learn about how to configure entities with @ManyToMany association so that we can save Roles while saving the User details. I also tried to cover some common issues and exception on can face while persisting data where entities have @ManyToMany association.
This video covers the configuration of Spring Security in great detail after completion of this video you will be able to:
1. Configure User Principal to Support Multiple User Roles
2. Persist Records In Table With Child Entities and Vice Versa