SEC-2467: Fix Small errors in itest-web's jsps

This commit is contained in:
james 2014-01-23 17:03:31 +01:00 committed by Rob Winch
parent 1f833b0d6b
commit a99c6db327
2 changed files with 5 additions and 4 deletions

View File

@ -3,15 +3,13 @@
<body> <body>
<h1>Authentication Tag Test Page</h1> <h1>Authentication Tag Test Page</h1>
<p>
<ul> <ul>
<li>This is the authentication name: <sec:authentication property="name"/></li> <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 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 authentication name: <sec:authentication property="name" htmlEscape="false"/></li>
<li>This is the unescaped principal.username: <sec:authentication property="principal.username" htmlEscape="false"/></li> <li>This is the unescaped principal.username: <sec:authentication property="principal.username" htmlEscape="false"/></li>
</ul </ul>
</p>
</body> </body>
</html> </html>

View File

@ -7,6 +7,9 @@
<title>A secure page</title> <title>A secure page</title>
</head> </head>
<body> <body>
<jsp:include page="secure1body.jsp?x=1&y=2"/> <jsp:include page="secure1body.jsp">
<jsp:param name="x" value="1" />
<jsp:param name="y" value="2" />
</jsp:include>
</body> </body>
</html> </html>