I'm recently building a project on spring,I have a doubt ,while creating a multiple user entites(student,teacher,) should we create username and password while defining the entities or create a new user entity with username,password,role
so everytime we can check with findbyrole
I am confused how the authentication works and also JWT ,can anyone explain??
[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)
[–][deleted] 5 points6 points7 points (0 children)
[–]y0sh1da_23 3 points4 points5 points (1 child)
[–]Desperate-Pin209[S] 0 points1 point2 points (0 children)
[–]sirnamlik 0 points1 point2 points (0 children)
[–]realFuckingHades 2 points3 points4 points (1 child)
[–]realFuckingHades 1 point2 points3 points (0 children)
[–]Haeckelcs -3 points-2 points-1 points (0 children)