79104704

Date: 2024-10-19 10:39:32
Score: 2
Natty:
Report link

Spring Security creates an Authentication bean that has information about the current user. If you want to get rid of the dependency on Spring Security, just use the Principal interface that Authentication extends.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Andrey Smelik