There is a need to log in to the site under different types of users. Teacher and pupil. These users have different @Entity and cannot be stored in the same table. Can I post their authorization data on different tables? If so, how then to specify the spring, from which table the information should be taken.
Sasha Chernykh
3.576 9 9 gold signs 23 23 silver marks 76 76 bronze marks
Victor Morozov Victor Morozov
90 11 11 bronze marks
|
SecurityContextHolder.getContext().setAuthentication()method - MrFylypenko