A many-to-many relationship between two entities is defined by using the @ManyToMany annotation in Spring Data JPA.
In order to map a many-to-many association, we use the @ManyToMany, @JoinTable and @JoinColumn annotations
The @JoinColumn annotation is used to specify the join/linking column with the main table.
This article talks about the importance of protection, as when creating an account, you should not share the password and the user with others to avoid being exposed to hacking or other crimes
And here the article spoke that the password must contain to be strong passwords :
A mixture of lower and uppercase letters.
The password contains symbols.
Avoid common passwords such as putting date of birth as the password.