春季安全.在每一页上显示用户名 [英] spring security. display user name on every page
本文介绍了春季安全.在每一页上显示用户名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在登录后存储用户信息,并在每个页面上显示我的登录名和用户名(使用jsp).如何在我的jsp视图中访问将存储已登录用户信息的会话bean?
I want to store user information after logging in and to display my login and username on every page (using jsp). How can I get access in my jsp views to the session bean that would store information of the user that is logged in?
推荐答案
查看全文