Updates to heavyduty sample

This commit is contained in:
Luke Taylor 2008-05-01 16:36:16 +00:00
parent e7e256a9d5
commit 26d2b03667
3 changed files with 6 additions and 4 deletions

View File

@ -137,7 +137,7 @@
<artifactId>maven-jetty-plugin</artifactId>
<version>6.1.7</version>
<configuration>
<contextPath>/tutorial</contextPath>
<contextPath>/heavyduty</contextPath>
<connectors>
<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
<port>8080</port>
@ -159,7 +159,7 @@
</plugins>
</build>
<properties>
<spring.version>2.5.3</spring.version>
<spring.version>2.5.4</spring.version>
<spring.security.version>2.0.1-SNAPSHOT</spring.security.version>
</properties>

View File

@ -30,7 +30,7 @@
<!-- All of this is unnecessary if auto-config="true" -->
<form-login />
<form-login default-target-url="/secure/index.jsp" always-use-default-target="true"/>
<anonymous />
<!-- http-basic / -->
<logout />

View File

@ -27,7 +27,9 @@ or if you've authenticated this session.
<tr>
<td>&lt;sec:authentication property='principal.accountNonLocked' /&gt;</td><td><sec:authentication property="principal.accountNonLocked"/></td>
</tr>
</table>
</table>
Saved Request: <%= session.getAttribute("SPRING_SECURITY_SAVED_REQUEST_KEY") %>
<p><a href="../">Home</a>