Spring Boot зарегистрирован в пользователе
Authentication authentication = SecurityContextHolder.getContext().getAuthentication();
// Get user name
authentication.getName()
Code language: JavaScript (javascript)
Hello Bugs