cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r1384995 - in /cayenne/main/branches/STABLE-3.1/tutorials/tutorial-rop-server/src/main/webapp/META-INF: ./ context.xml
Date Sat, 15 Sep 2012 01:40:03 GMT
Author: aadamchik
Date: Sat Sep 15 01:40:03 2012
New Revision: 1384995

URL: http://svn.apache.org/viewvc?rev=1384995&view=rev
Log:
CAY-1739 Cayenne ROP server resets session on every request if BASIC auth is used

adding context.xml Tomcat config to the ROP server to make tutorial Tomcat-deployable

(cherry picked from commit 2e005f0cd589b4aaacc199e6da9f09aa67ab4f8c)

Added:
    cayenne/main/branches/STABLE-3.1/tutorials/tutorial-rop-server/src/main/webapp/META-INF/
    cayenne/main/branches/STABLE-3.1/tutorials/tutorial-rop-server/src/main/webapp/META-INF/context.xml

Added: cayenne/main/branches/STABLE-3.1/tutorials/tutorial-rop-server/src/main/webapp/META-INF/context.xml
URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-3.1/tutorials/tutorial-rop-server/src/main/webapp/META-INF/context.xml?rev=1384995&view=auto
==============================================================================
--- cayenne/main/branches/STABLE-3.1/tutorials/tutorial-rop-server/src/main/webapp/META-INF/context.xml
(added)
+++ cayenne/main/branches/STABLE-3.1/tutorials/tutorial-rop-server/src/main/webapp/META-INF/context.xml
Sat Sep 15 01:40:03 2012
@@ -0,0 +1,8 @@
+<!-- 
+ This piece of configuration is needed for deployment on Tomcat 6 or 7
+ to prevent ROP client from losing its server-side session between requests.
+-->
+<Context>
+	<Valve className="org.apache.catalina.authenticator.BasicAuthenticator" 
+		changeSessionIdOnAuthentication="false" />
+</Context>
\ No newline at end of file



Mime
View raw message