[jboss-cvs] JBossAS SVN: r58689 - in branches/JBoss_4_0_3_SP1_JBAS-3808/testsuite/src/resources: test-configs/tomcat-sso/deploy/jbossweb-tomcat55.sar test-configs/tomcat-sso-cluster/deploy/jbossweb-tomcat55.sar web/sso/war

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Nov 27 12:12:54 EST 2006


Author: bstansberry at jboss.com
Date: 2006-11-27 12:12:51 -0500 (Mon, 27 Nov 2006)
New Revision: 58689

Added:
   branches/JBoss_4_0_3_SP1_JBAS-3808/testsuite/src/resources/test-configs/tomcat-sso-cluster/deploy/jbossweb-tomcat55.sar/context.xml
   branches/JBoss_4_0_3_SP1_JBAS-3808/testsuite/src/resources/test-configs/tomcat-sso/deploy/jbossweb-tomcat55.sar/context.xml
   branches/JBoss_4_0_3_SP1_JBAS-3808/testsuite/src/resources/web/sso/war/index.jsp
   branches/JBoss_4_0_3_SP1_JBAS-3808/testsuite/src/resources/web/sso/war/isValid.jsp
Log:
[JBAS-3808] Add missing resources

Added: branches/JBoss_4_0_3_SP1_JBAS-3808/testsuite/src/resources/test-configs/tomcat-sso/deploy/jbossweb-tomcat55.sar/context.xml
===================================================================
--- branches/JBoss_4_0_3_SP1_JBAS-3808/testsuite/src/resources/test-configs/tomcat-sso/deploy/jbossweb-tomcat55.sar/context.xml	2006-11-27 16:57:31 UTC (rev 58688)
+++ branches/JBoss_4_0_3_SP1_JBAS-3808/testsuite/src/resources/test-configs/tomcat-sso/deploy/jbossweb-tomcat55.sar/context.xml	2006-11-27 17:12:51 UTC (rev 58689)
@@ -0,0 +1,13 @@
+<!-- The contents of this file will be loaded for each web application -->
+<Context cookies="true" crossContext="true">
+   
+   <!-- We want a low processExpiresFrequency so we can have 
+        fast turnaround of expiration tests -->
+   <Manager pathname="" processExpiresFrequency="1"/>
+
+   <!-- Install an InstanceListener to handle the establishment of the run-as
+   role for servlet init/destroy events.
+   -->
+   <InstanceListener>org.jboss.web.tomcat.security.RunAsListener</InstanceListener>
+   
+</Context>

Added: branches/JBoss_4_0_3_SP1_JBAS-3808/testsuite/src/resources/test-configs/tomcat-sso-cluster/deploy/jbossweb-tomcat55.sar/context.xml
===================================================================
--- branches/JBoss_4_0_3_SP1_JBAS-3808/testsuite/src/resources/test-configs/tomcat-sso-cluster/deploy/jbossweb-tomcat55.sar/context.xml	2006-11-27 16:57:31 UTC (rev 58688)
+++ branches/JBoss_4_0_3_SP1_JBAS-3808/testsuite/src/resources/test-configs/tomcat-sso-cluster/deploy/jbossweb-tomcat55.sar/context.xml	2006-11-27 17:12:51 UTC (rev 58689)
@@ -0,0 +1,13 @@
+<!-- The contents of this file will be loaded for each web application -->
+<Context cookies="true" crossContext="true">
+   
+   <!-- We want a low processExpiresFrequency so we can have 
+        fast turnaround of expiration tests -->
+   <Manager pathname="" processExpiresFrequency="1"/>
+
+   <!-- Install an InstanceListener to handle the establishment of the run-as
+   role for servlet init/destroy events.
+   -->
+   <InstanceListener>org.jboss.web.tomcat.security.RunAsListener</InstanceListener>
+   
+</Context>

Added: branches/JBoss_4_0_3_SP1_JBAS-3808/testsuite/src/resources/web/sso/war/index.jsp
===================================================================
--- branches/JBoss_4_0_3_SP1_JBAS-3808/testsuite/src/resources/web/sso/war/index.jsp	2006-11-27 16:57:31 UTC (rev 58688)
+++ branches/JBoss_4_0_3_SP1_JBAS-3808/testsuite/src/resources/web/sso/war/index.jsp	2006-11-27 17:12:51 UTC (rev 58689)
@@ -0,0 +1,15 @@
+<%
+   // Give the session a quick timeout so the timeout test can be short
+	session.setMaxInactiveInterval(5);
+%>
+
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
+<html>
+<head>
+   <title>A Secure Web App</title>
+</head>
+
+<body>
+<h1>A Secure Web App</h1>
+</body>
+</html>

Added: branches/JBoss_4_0_3_SP1_JBAS-3808/testsuite/src/resources/web/sso/war/isValid.jsp
===================================================================
--- branches/JBoss_4_0_3_SP1_JBAS-3808/testsuite/src/resources/web/sso/war/isValid.jsp	2006-11-27 16:57:31 UTC (rev 58688)
+++ branches/JBoss_4_0_3_SP1_JBAS-3808/testsuite/src/resources/web/sso/war/isValid.jsp	2006-11-27 17:12:51 UTC (rev 58689)
@@ -0,0 +1 @@
+<% response.setHeader("X-SessionValid", session.isValid()); %>
\ No newline at end of file




More information about the jboss-cvs-commits mailing list