How does SpringSecurity store user information?

as in the question, how does SpringSecurity store user information? How to store it to ensure that each logged-in user gets his or her own UserDetails.

UserDetails userDetails = (UserDetails) SecurityContextHolder.getContext () .getAuthentication () .getPrincipal ();
how do I get the current login user directly? What is the basis for judging whether it is the current user or not? What do they use to have an one-on-one relationship? Ask the boss for advice ~


is the same as the normal session mechanism, and user identification is also done through jsessionid in cookie

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3893d-2c11f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3893d-2c11f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?