When using Spring Security, what is the proper way to obtain current username (i.e. SecurityContext) information in a bean?
When using Spring Security, what is the proper way to obtain current username (i.e. SecurityContext) information in a bean? spring
spring