mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-13 23:52:14 +00:00
SEC-1420: JSP for itest of authentication tags with and without escaping.
This commit is contained in:
parent
a7e21318bf
commit
41e06152b3
@ -0,0 +1,19 @@
|
|||||||
|
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
|
||||||
|
<html>
|
||||||
|
<body>
|
||||||
|
<h1>Authentication Tag Test Page</h1>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<ul>
|
||||||
|
<li>This is the authentication name: <sec:authentication property="name"/></li>
|
||||||
|
<li>This is the principal.username: <sec:authentication property="principal.username"/></li>
|
||||||
|
<li>This is the unescaped authentication name: <sec:authentication property="name" htmlEscape="false"/></li>
|
||||||
|
<li>This is the unescaped principal.username: <sec:authentication property="principal.username" htmlEscape="false"/></li>
|
||||||
|
|
||||||
|
</ul
|
||||||
|
</p>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user