简体   繁体   中英

I am using here Struts 2 and Spring Security Integration

In spring security after successfully login how to print user First name and Last name in jsp page like :

sec:authentication property="principal.firstname" and sec:authentication property="principal.lastname"

您应该使用所需的属性来实现自己的UserDetails

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM