From 28af6bb4dc31de2f4b4a75a2a53c2637a7d04eeb Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Mon, 16 Mar 2009 10:26:23 +0000 Subject: [PATCH] SEC-1079: Corrected context filename --- src/site/apt/petclinic-tutorial.apt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/site/apt/petclinic-tutorial.apt b/src/site/apt/petclinic-tutorial.apt index 7e4879ed82..a5e52cd72f 100644 --- a/src/site/apt/petclinic-tutorial.apt +++ b/src/site/apt/petclinic-tutorial.apt @@ -19,7 +19,7 @@ Tutorial: Adding Security to Spring Petclinic You will also need to download: - * {{{http://www.springframework.org/download}Spring 2.5.5 with dependencies ZIP file}} + * {{{http://www.springframework.org/download}Spring 2.5.6 with dependencies ZIP file}} * {{{http://www.springframework.org/download}Spring Security 2.0.4}} @@ -81,7 +81,7 @@ copy dist\petclinic.war %TOMCAT_HOME%\webapps We believe you can adapt it easily on any operating system. +------------------------------------------------------ -copy %spring-sec-tutorial%\WEB-INF\applicationContext-security-ns.xml %spring%\samples\petclinic\war\WEB-INF +copy %spring-sec-tutorial%\WEB-INF\applicationContext-security.xml %spring%\samples\petclinic\war\WEB-INF copy %spring-sec-tutorial%\WEB-INF\lib\spring-security-core-2.0.4.jar %spring%\samples\petclinic\war\WEB-INF\lib copy %spring-sec-tutorial%\WEB-INF\lib\spring-security-core-tiger-2.0.4.jar %spring%\samples\petclinic\war\WEB-INF\lib copy %spring-sec-tutorial%\WEB-INF\lib\spring-security-acl-2.0.4.jar %spring%\samples\petclinic\war\WEB-INF\lib @@ -127,7 +127,7 @@ copy %spring-sec-tutorial%\WEB-INF\lib\commons-codec-1.3.jar %spring%\samples\pe +------------------------------------------------------ Our last step is to specify which URLs require authorization and which do not. Let's - edit %spring%\samples\petclinic\war\WEB-INF\applicationContext-security-ns.xml. + edit %spring%\samples\petclinic\war\WEB-INF\applicationContext-security.xml. All URLs ending with '.do' will be protected. +------------------------------------------------------ @@ -145,8 +145,8 @@ copy %spring-sec-tutorial%\WEB-INF\lib\commons-codec-1.3.jar %spring%\samples\pe Finally, start your container and try to visit the home page. Your request should be intercepted and you will be forced to login. - You can now log in using the usernames and passwords that are documented at the end - of applicationContext-security-ns.xml file. + You can now log in using the usernames and passwords that are documented at the end + of applicationContext-security.xml file. ** Log out