From c2db942852664550375f9a40fe37f00207ed56ce Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Sat, 20 Oct 2007 23:20:36 +0000 Subject: [PATCH] Namespace version of tutorial config. Currently lacks support for remember me and anonymous authentication. --- samples/tutorial/pom.xml | 5 +++ .../applicationContext-security-ns.xml | 36 +++++++++++++++++++ .../tutorial/src/main/webapp/WEB-INF/web.xml | 2 +- 3 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 samples/tutorial/src/main/webapp/WEB-INF/applicationContext-security-ns.xml diff --git a/samples/tutorial/pom.xml b/samples/tutorial/pom.xml index cded5bc888..1a23c6ae7f 100644 --- a/samples/tutorial/pom.xml +++ b/samples/tutorial/pom.xml @@ -25,6 +25,11 @@ spring-jdbc runtime + + org.springframework + spring-aop + runtime + javax.servlet jstl diff --git a/samples/tutorial/src/main/webapp/WEB-INF/applicationContext-security-ns.xml b/samples/tutorial/src/main/webapp/WEB-INF/applicationContext-security-ns.xml new file mode 100644 index 0000000000..16cdb6621e --- /dev/null +++ b/samples/tutorial/src/main/webapp/WEB-INF/applicationContext-security-ns.xml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/samples/tutorial/src/main/webapp/WEB-INF/web.xml b/samples/tutorial/src/main/webapp/WEB-INF/web.xml index 882105418c..06313f2841 100644 --- a/samples/tutorial/src/main/webapp/WEB-INF/web.xml +++ b/samples/tutorial/src/main/webapp/WEB-INF/web.xml @@ -20,7 +20,7 @@ contextConfigLocation - /WEB-INF/applicationContext-acegi-security.xml + /WEB-INF/applicationContext-security-ns.xml