Spring AOP日志实现(三)--获取访问者用户名

通过Security获取访问者用户名:

也可以通过session来获取:

整体思路:

猜你喜欢

转载自www.cnblogs.com/niwotaxuexiba/p/10848432.html
今日推荐