【发布时间】:2013-06-23 03:23:51
【问题描述】:
在spring security中成功登录后如何在jsp页面中打印用户名和姓:
sec:authentication property="principal.firstname" 和 sec:authentication property="principal.lastname"
【问题讨论】:
标签: java struts2 spring-security
在spring security中成功登录后如何在jsp页面中打印用户名和姓:
sec:authentication property="principal.firstname" 和 sec:authentication property="principal.lastname"
【问题讨论】:
标签: java struts2 spring-security
你应该使用你需要的属性来实现你自己的UserDetails。
【讨论】: