📜  如何在 Spring Boot 中找到登录用户? - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:39.898000             🧑  作者: Mango

代码示例1
Authentication auth = SecurityContextHolder.getContext().getAuthentication();