diff --git a/samples/contacts/src/main/webapp/x509/WEB-INF/applicationContext-acegi-security.xml b/samples/contacts/src/main/webapp/x509/WEB-INF/applicationContext-acegi-security.xml
new file mode 100644
index 0000000000..9128cf4266
--- /dev/null
+++ b/samples/contacts/src/main/webapp/x509/WEB-INF/applicationContext-acegi-security.xml
@@ -0,0 +1,152 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
+ PATTERN_TYPE_APACHE_ANT
+ /**=channelProcessingFilter,httpSessionContextIntegrationFilter,x509ProcessingFilter,securityEnforcementFilter
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Contacts Realm
+
+
+
+ net.sf.acegisecurity.context.security.SecureContextImpl
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
+ \A/secure/.*\Z=REQUIRES_SECURE_CHANNEL
+ \A/j_acegi_cas_security_check.*\Z=REQUIRES_SECURE_CHANNEL
+ \A.*\Z=REQUIRES_INSECURE_CHANNEL
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
+ \A/secure/super.*\Z=ROLE_WE_DONT_HAVE
+ \A/secure/.*\Z=ROLE_SUPERVISOR,ROLE_TELLER
+
+
+
+
+
+
+
diff --git a/samples/contacts/src/main/webapp/x509/WEB-INF/web.xml b/samples/contacts/src/main/webapp/x509/WEB-INF/web.xml
new file mode 100644
index 0000000000..e47ee212ba
--- /dev/null
+++ b/samples/contacts/src/main/webapp/x509/WEB-INF/web.xml
@@ -0,0 +1,116 @@
+
+
+
+
+
+
+
+ Contacts Sample Application
+
+
+
+ contextConfigLocation
+
+ /WEB-INF/applicationContext-acegi-security.xml
+ /WEB-INF/applicationContext-common-business.xml
+ /WEB-INF/applicationContext-common-authorization.xml
+
+
+
+
+
+ edu.yale.its.tp.cas.proxyUrl
+ http://localhost:8433/cas/proxy
+
+
+
+ Acegi Filter Chain Proxy
+ net.sf.acegisecurity.util.FilterToBeanProxy
+
+ targetClass
+ net.sf.acegisecurity.util.FilterChainProxy
+
+
+
+
+ Acegi Filter Chain Proxy
+ /*
+
+
+
+
+ org.springframework.web.context.ContextLoaderListener
+
+
+
+
+ contacts
+ org.springframework.web.servlet.DispatcherServlet
+ 1
+
+
+
+
+ remoting
+ org.springframework.web.servlet.DispatcherServlet
+ 2
+
+
+
+ contacts
+ *.htm
+
+
+
+ remoting
+ /remoting/*
+
+
+
+ index.jsp
+
+
+
+ /spring
+ /WEB-INF/spring.tld
+
+
+
+ CLIENT-CERT
+
+
+
+ /*
+ CONFIDENTIAL
+
+
+