Security小知识点

版权声明:转载请标明出处 https://blog.csdn.net/keyuzhang/article/details/89298775

1.获取登录用户名

SecurityContextHolder.getContext().getAuthentication().getName();

猜你喜欢

转载自blog.csdn.net/keyuzhang/article/details/89298775