【发布时间】:2015-10-14 14:34:11
【问题描述】:
我正在为我的应用程序使用 spring-boot 1.2.5 + thymeleaf + spring security。
我需要在我的网站上显示用户名,在做了一些研究之后似乎我应该使用类似的代码:
<div sec:authentication="name">The value of the "name" property of
the authentication object should appear here.</div>
但是我没有让 Thymeleaf 解析该标签。请问我需要一些帮助:(
【问题讨论】:
标签: spring-security spring-boot thymeleaf