Author: ppitonak(a)redhat.com
Date: 2011-12-07 10:28:56 -0500 (Wed, 07 Dec 2011)
New Revision: 23058
Added:
modules/tests/metamer/trunk/application/src/main/webapp/META-INF/context.xml
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/WEB-INF/web.xml
Log:
application set to use cookies for storing session ID
Added: modules/tests/metamer/trunk/application/src/main/webapp/META-INF/context.xml
===================================================================
--- modules/tests/metamer/trunk/application/src/main/webapp/META-INF/context.xml
(rev 0)
+++
modules/tests/metamer/trunk/application/src/main/webapp/META-INF/context.xml 2011-12-07
15:28:56 UTC (rev 23058)
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Context antiJARLocking="true" path="/metamer"
useHttpOnly="false"/>
Modified: modules/tests/metamer/trunk/application/src/main/webapp/WEB-INF/web.xml
===================================================================
--- modules/tests/metamer/trunk/application/src/main/webapp/WEB-INF/web.xml 2011-12-07
11:25:47 UTC (rev 23057)
+++ modules/tests/metamer/trunk/application/src/main/webapp/WEB-INF/web.xml 2011-12-07
15:28:56 UTC (rev 23058)
@@ -100,4 +100,14 @@
<location>/faces/error/404.xhtml</location>
</error-page>
+ <session-config>
+ <tracking-mode>COOKIE</tracking-mode>
+ <cookie-config>
+ <domain>localhost</domain>
+ <!-- for Tomcat 7, it has to be set also in context.xml -->
+ <http-only>false</http-only>
+ <path>/metamer</path>
+ </cookie-config>
+ </session-config>
+
</web-app>
Show replies by date