Author: owulff
Date: Fri Jan 18 15:13:41 2013
New Revision: 1435180
URL: http://svn.apache.org/viewvc?rev=1435180&view=rev
Log:
springWebapp added to systests
Added:
cxf/fediz/trunk/systests/springWebapp/
cxf/fediz/trunk/systests/springWebapp/pom.xml
cxf/fediz/trunk/systests/springWebapp/src/
cxf/fediz/trunk/systests/springWebapp/src/main/
cxf/fediz/trunk/systests/springWebapp/src/main/java/
cxf/fediz/trunk/systests/springWebapp/src/main/java/org/
cxf/fediz/trunk/systests/springWebapp/src/main/java/org/apache/
cxf/fediz/trunk/systests/springWebapp/src/main/java/org/apache/cxf/
cxf/fediz/trunk/systests/springWebapp/src/main/java/org/apache/cxf/fediz/
cxf/fediz/trunk/systests/springWebapp/src/main/java/org/apache/cxf/fediz/example/
cxf/fediz/trunk/systests/springWebapp/src/main/java/org/apache/cxf/fediz/example/FederationServlet.java
cxf/fediz/trunk/systests/springWebapp/src/main/resources/
cxf/fediz/trunk/systests/springWebapp/src/main/resources/log4j.properties
cxf/fediz/trunk/systests/springWebapp/src/main/webapp/
cxf/fediz/trunk/systests/springWebapp/src/main/webapp/META-INF/
cxf/fediz/trunk/systests/springWebapp/src/main/webapp/META-INF/context.xml
cxf/fediz/trunk/systests/springWebapp/src/main/webapp/WEB-INF/
cxf/fediz/trunk/systests/springWebapp/src/main/webapp/WEB-INF/applicationContext-security.xml
cxf/fediz/trunk/systests/springWebapp/src/main/webapp/WEB-INF/web.xml
cxf/fediz/trunk/systests/springWebapp/src/main/webapp/index.html
cxf/fediz/trunk/systests/springWebapp/src/main/webapp/secure/
cxf/fediz/trunk/systests/springWebapp/src/main/webapp/secure/test.html
Added: cxf/fediz/trunk/systests/springWebapp/pom.xml
URL:
http://svn.apache.org/viewvc/cxf/fediz/trunk/systests/springWebapp/pom.xml?rev=1435180&view=auto
==============================================================================
--- cxf/fediz/trunk/systests/springWebapp/pom.xml (added)
+++ cxf/fediz/trunk/systests/springWebapp/pom.xml Fri Jan 18 15:13:41 2013
@@ -0,0 +1,126 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.cxf.fediz</groupId>
+ <artifactId>systests</artifactId>
+ <version>1.1.0-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+
+ <groupId>org.apache.cxf.fediz.systests</groupId>
+ <artifactId>systests-springWebapp</artifactId>
+ <name>Apache Fediz Systests SpringWebapp</name>
+ <packaging>war</packaging>
+
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>1.1.1</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.5</version>
+ <scope>provided</scope>
+ </dependency>
+ <!-- Required to cast Principal to FederationPrincipal -->
+ <dependency>
+ <groupId>org.apache.cxf.fediz</groupId>
+ <artifactId>fediz-core</artifactId>
+ <version>${project.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.cxf.fediz</groupId>
+ <artifactId>fediz-spring</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-lang3</artifactId>
+ <version>3.0.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-web</artifactId>
+ <version>3.1.3.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-config</artifactId>
+ <version>3.1.3.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <version>1.6.1</version>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>1.2.15</version>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.mail</groupId>
+ <artifactId>mail</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.jms</groupId>
+ <artifactId>jms</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>com.sun.jdmk</groupId>
+ <artifactId>jmxtools</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>com.sun.jmx</groupId>
+ <artifactId>jmxri</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin><!--for mvn tomcat:deploy/:undeploy/:redeploy -->
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>tomcat-maven-plugin</artifactId>
+ <version>1.1</version>
+ <configuration>
+ <server>myTomcat</server>
+ <url>http://localhost:8080/manager/text</url>
+ <path>/${project.build.finalName}</path>
+ </configuration>
+ </plugin>
+ </plugins>
+ <!-- Name of the generated WAR file -->
+ <finalName>fedizhelloworld</finalName>
+ </build>
+
+</project>
Added:
cxf/fediz/trunk/systests/springWebapp/src/main/java/org/apache/cxf/fediz/example/FederationServlet.java
URL:
http://svn.apache.org/viewvc/cxf/fediz/trunk/systests/springWebapp/src/main/java/org/apache/cxf/fediz/example/FederationServlet.java?rev=1435180&view=auto
==============================================================================
---
cxf/fediz/trunk/systests/springWebapp/src/main/java/org/apache/cxf/fediz/example/FederationServlet.java
(added)
+++
cxf/fediz/trunk/systests/springWebapp/src/main/java/org/apache/cxf/fediz/example/FederationServlet.java
Fri Jan 18 15:13:41 2013
@@ -0,0 +1,87 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.cxf.fediz.example;
+
+import java.io.IOException;
+import java.io.PrintWriter;
+import java.security.Principal;
+import java.util.Arrays;
+import java.util.List;
+
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import org.apache.cxf.fediz.core.Claim;
+import org.apache.cxf.fediz.core.ClaimCollection;
+import org.apache.cxf.fediz.core.FederationPrincipal;
+
+import org.springframework.security.core.context.SecurityContextHolder;
+import org.springframework.util.Assert;
+
+public class FederationServlet extends HttpServlet {
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = -9019993850246851112L;
+
+ public void doGet(HttpServletRequest request, HttpServletResponse
response) throws ServletException,
+ IOException {
+
+ response.setContentType("text/html");
+ PrintWriter out = response.getWriter();
+
+ out.println("<html>");
+ out.println("<head><title>WS Federation Systests Spring
Examples</title></head>");
+ out.println("<body>");
+ out.println("<p>Request url: " + request.getRequestURL().toString() +
"</p>");
+
+ out.print("<p>userPrincipal=");
+ Principal p = request.getUserPrincipal();
+ if (p != null) {
+ out.print(p.getName());
+ }
+ out.println("</p>");
+
+ List<String> roleListToCheck = Arrays.asList("Admin", "Manager",
"User", "Authenticated");
+ for (String item : roleListToCheck) {
+ out.println("<p>role:" + item + "=" +
((request.isUserInRole(item)) ? "true" : "false") + "</p>");
+ }
+
+ if (p instanceof FederationPrincipal) {
+ FederationPrincipal fp = (FederationPrincipal)p;
+
+ ClaimCollection claims = fp.getClaims();
+ for (Claim c : claims) {
+ out.println("<p>" + c.getClaimType().toString() + "=" +
c.getValue() + "</p>");
+ }
+ }
+
+ out.println("</body>");
+
+ // Access Spring security context
+ Assert.notNull(SecurityContextHolder.getContext().getAuthentication(),
+ "SecurityContextHolder Authentication not null");
+
+ }
+
+}
Added: cxf/fediz/trunk/systests/springWebapp/src/main/resources/log4j.properties
URL:
http://svn.apache.org/viewvc/cxf/fediz/trunk/systests/springWebapp/src/main/resources/log4j.properties?rev=1435180&view=auto
==============================================================================
--- cxf/fediz/trunk/systests/springWebapp/src/main/resources/log4j.properties
(added)
+++ cxf/fediz/trunk/systests/springWebapp/src/main/resources/log4j.properties
Fri Jan 18 15:13:41 2013
@@ -0,0 +1,20 @@
+# Set root category priority to INFO and its only appender to CONSOLE.
+#log4j.rootLogger=INFO, CONSOLE
+log4j.rootLogger=DEBUG, CONSOLE
+#log4j.logger.org.springframework=INFO, CONSOLE
+#log4j.logger.org.springframework.security=DEBUG, CONSOLE,LOGFILE
+#log4j.logger.org.apache.cxf.fediz=DEBUG, CONSOLE,LOGFILE
+
+# CONSOLE is set to be a ConsoleAppender using a PatternLayout.
+log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
+log4j.appender.CONSOLE.Threshold=DEBUG
+log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
+log4j.appender.CONSOLE.layout.ConversionPattern=%d [%t] %-5p %c %x - %m%n
+
+# LOGFILE is set to be a File appender using a PatternLayout.
+log4j.appender.LOGFILE=org.apache.log4j.FileAppender
+log4j.appender.LOGFILE.File=fedizhelloworld.log
+log4j.appender.LOGFILE.Append=false
+log4j.appender.LOGFILE.Threshold=DEBUG
+log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
+log4j.appender.LOGFILE.layout.ConversionPattern=%d [%t] %-5p %c %x - %m%n
Added:
cxf/fediz/trunk/systests/springWebapp/src/main/webapp/META-INF/context.xml
URL:
http://svn.apache.org/viewvc/cxf/fediz/trunk/systests/springWebapp/src/main/webapp/META-INF/context.xml?rev=1435180&view=auto
==============================================================================
--- cxf/fediz/trunk/systests/springWebapp/src/main/webapp/META-INF/context.xml
(added)
+++ cxf/fediz/trunk/systests/springWebapp/src/main/webapp/META-INF/context.xml
Fri Jan 18 15:13:41 2013
@@ -0,0 +1,3 @@
+<Context>
+ <Valve className="org.apache.cxf.fediz.tomcat.FederationAuthenticator"
configFile="conf/fediz_config.xml" />
+</Context>
Added:
cxf/fediz/trunk/systests/springWebapp/src/main/webapp/WEB-INF/applicationContext-security.xml
URL:
http://svn.apache.org/viewvc/cxf/fediz/trunk/systests/springWebapp/src/main/webapp/WEB-INF/applicationContext-security.xml?rev=1435180&view=auto
==============================================================================
---
cxf/fediz/trunk/systests/springWebapp/src/main/webapp/WEB-INF/applicationContext-security.xml
(added)
+++
cxf/fediz/trunk/systests/springWebapp/src/main/webapp/WEB-INF/applicationContext-security.xml
Fri Jan 18 15:13:41 2013
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ - Sample namespace-based configuration
+ -
+ -->
+
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:sec="http://www.springframework.org/schema/security"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
+ http://www.springframework.org/schema/security
http://www.springframework.org/schema/security/spring-security.xsd">
+
+ <bean id="filterChainProxy"
class="org.springframework.security.web.FilterChainProxy">
+ <sec:filter-chain-map path-type="ant">
+ <sec:filter-chain pattern="/**"
filters="sif,j2eePreAuthFilter,logoutFilter,etf,fsi"/>
+ </sec:filter-chain-map>
+ </bean>
+
+ <bean id="sif"
class="org.springframework.security.web.context.SecurityContextPersistenceFilter"/>
+
+ <sec:authentication-manager alias="authenticationManager">
+ <sec:authentication-provider
ref='preAuthenticatedAuthenticationProvider'/>
+ </sec:authentication-manager>
+
+ <bean id="preAuthenticatedAuthenticationProvider"
class="org.springframework.security.web.authentication.preauth.PreAuthenticatedAuthenticationProvider">
+ <property name="preAuthenticatedUserDetailsService"
ref="preAuthenticatedUserDetailsService"/>
+ </bean>
+
+ <!--
+ <bean id="preAuthenticatedUserDetailsService"
+
class="org.springframework.security.web.authentication.preauth.PreAuthenticatedGrantedAuthoritiesUserDetailsService"/>
+ -->
+ <bean id="preAuthenticatedUserDetailsService"
+
class="org.apache.cxf.fediz.spring.PreAuthenticatedGrantedAuthoritiesUserDetailsFederationService"/>
+
+ <!--<bean id="j2eePreAuthFilter"
class="org.springframework.security.web.authentication.preauth.j2ee.J2eePreAuthenticatedProcessingFilter">-->
+ <bean id="j2eePreAuthFilter"
class="org.apache.cxf.fediz.spring.FederationPreAuthenticatedProcessingFilter">
+ <property name="authenticationManager" ref="authenticationManager"/>
+ <property name="authenticationDetailsSource">
+ <bean
class="org.springframework.security.web.authentication.preauth.j2ee.J2eeBasedPreAuthenticatedWebAuthenticationDetailsSource">
+ <property name="mappableRolesRetriever">
+ <bean
class="org.springframework.security.web.authentication.preauth.j2ee.WebXmlMappableAttributesRetriever"
/>
+ </property>
+ <property name="userRoles2GrantedAuthoritiesMapper">
+ <bean
class="org.springframework.security.core.authority.mapping.SimpleAttributes2GrantedAuthoritiesMapper">
+ <property name="convertAttributeToUpperCase"
value="true"/>
+ </bean>
+ </property>
+ </bean>
+ </property>
+ </bean>
+
+ <bean id="preAuthenticatedProcessingFilterEntryPoint"
+
class="org.springframework.security.web.authentication.Http403ForbiddenEntryPoint"/>
+
+ <bean id="logoutFilter"
class="org.springframework.security.web.authentication.logout.LogoutFilter">
+ <constructor-arg value="/"/>
+ <constructor-arg>
+ <list>
+ <bean
class="org.springframework.security.web.authentication.logout.SecurityContextLogoutHandler"/>
+ </list>
+ </constructor-arg>
+ </bean>
+
+ <bean id="servletContext"
class="org.springframework.web.context.support.ServletContextFactoryBean"/>
+
+ <bean id="etf"
class="org.springframework.security.web.access.ExceptionTranslationFilter">
+ <property name="authenticationEntryPoint"
ref="preAuthenticatedProcessingFilterEntryPoint"/>
+ </bean>
+
+ <bean id="httpRequestAccessDecisionManager"
class="org.springframework.security.access.vote.AffirmativeBased">
+ <property name="allowIfAllAbstainDecisions" value="false"/>
+ <property name="decisionVoters">
+ <list>
+ <ref bean="roleVoter"/>
+ </list>
+ </property>
+ </bean>
+
+ <bean id="fsi"
class="org.springframework.security.web.access.intercept.FilterSecurityInterceptor">
+ <property name="authenticationManager" ref="authenticationManager"/>
+ <property name="accessDecisionManager"
ref="httpRequestAccessDecisionManager"/>
+ <property name="securityMetadataSource">
+ <sec:filter-invocation-definition-source>
+ <sec:intercept-url pattern="/secure/manager/**"
access="ROLE_MANAGER"/>
+ <sec:intercept-url pattern="/secure/admin/**"
access="ROLE_ADMIN"/>
+ <sec:intercept-url pattern="/secure/user/**"
access="ROLE_USER,ROLE_ADMIN,ROLE_MANAGER"/>
+ <sec:intercept-url pattern="/secure/fedservlet"
access="ROLE_USER,ROLE_ADMIN,ROLE_MANAGER,ROLE_AUTHENTICATED"/>
+ </sec:filter-invocation-definition-source>
+ </property>
+ </bean>
+
+ <bean id="roleVoter"
class="org.springframework.security.access.vote.RoleVoter"/>
+
+ <bean id="securityContextHolderAwareRequestFilter"
class="org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter"/>
+
+</beans>
Added: cxf/fediz/trunk/systests/springWebapp/src/main/webapp/WEB-INF/web.xml
URL:
http://svn.apache.org/viewvc/cxf/fediz/trunk/systests/springWebapp/src/main/webapp/WEB-INF/web.xml?rev=1435180&view=auto
==============================================================================
--- cxf/fediz/trunk/systests/springWebapp/src/main/webapp/WEB-INF/web.xml
(added)
+++ cxf/fediz/trunk/systests/springWebapp/src/main/webapp/WEB-INF/web.xml Fri
Jan 18 15:13:41 2013
@@ -0,0 +1,96 @@
+<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
+ http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
+ version="3.0" metadata-complete="true">
+
+ <description>
+ WS Federation Spring Example
+ </description>
+ <display-name>WS Federation Spring Example</display-name>
+
+
+
+ <!--
+ - Location of the XML file that defines the root application context
+ - Applied by ContextLoaderListener.
+ -->
+ <context-param>
+ <param-name>contextConfigLocation</param-name>
+ <param-value>
+ /WEB-INF/applicationContext-security.xml
+ </param-value>
+ </context-param>
+
+ <filter>
+ <filter-name>filterChainProxy</filter-name>
+
<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
+ </filter>
+
+ <filter-mapping>
+ <filter-name>filterChainProxy</filter-name>
+ <url-pattern>/*</url-pattern>
+ </filter-mapping>
+
+ <!--
+ - Loads the root application context of this web app at startup.
+ - The application context is then available via
+ - WebApplicationContextUtils.getWebApplicationContext(servletContext).
+ -->
+ <listener>
+
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
+ </listener>
+
+ <servlet>
+ <servlet-name>FederationServlet</servlet-name>
+
<servlet-class>org.apache.cxf.fediz.example.FederationServlet</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>FederationServlet</servlet-name>
+ <url-pattern>/secure/fedservlet</url-pattern>
+ </servlet-mapping>
+
+ <servlet-mapping>
+ <servlet-name>FederationServlet</servlet-name>
+ <url-pattern>/secure/admin/fedservlet</url-pattern>
+ </servlet-mapping>
+
+ <servlet-mapping>
+ <servlet-name>FederationServlet</servlet-name>
+ <url-pattern>/secure/user/fedservlet</url-pattern>
+ </servlet-mapping>
+
+ <servlet-mapping>
+ <servlet-name>FederationServlet</servlet-name>
+ <url-pattern>/secure/manager/fedservlet</url-pattern>
+ </servlet-mapping>
+
+ <security-role>
+ <role-name>Manager</role-name>
+ </security-role>
+ <security-role>
+ <role-name>User</role-name>
+ </security-role>
+ <security-role>
+ <role-name>Admin</role-name>
+ </security-role>
+ <security-role>
+ <role-name>Authenticated</role-name>
+ </security-role>
+
+ <security-constraint>
+ <web-resource-collection>
+ <web-resource-name>Protected Area</web-resource-name>
+ <url-pattern>/secure/*</url-pattern>
+ </web-resource-collection>
+ <auth-constraint>
+ <role-name>*</role-name>
+ </auth-constraint>
+ </security-constraint>
+
+ <login-config>
+ <auth-method>WSFED</auth-method>
+ <realm-name>WSFED</realm-name>
+ </login-config>
+
+</web-app>
Added: cxf/fediz/trunk/systests/springWebapp/src/main/webapp/index.html
URL:
http://svn.apache.org/viewvc/cxf/fediz/trunk/systests/springWebapp/src/main/webapp/index.html?rev=1435180&view=auto
==============================================================================
--- cxf/fediz/trunk/systests/springWebapp/src/main/webapp/index.html (added)
+++ cxf/fediz/trunk/systests/springWebapp/src/main/webapp/index.html Fri Jan 18
15:13:41 2013
@@ -0,0 +1,25 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML><HEAD><TITLE>WS Federation Tomcat Examples</TITLE>
+<META http-equiv=Content-Type content="text/html">
+</HEAD>
+<BODY>
+<P>
+<H3>Hello World</H3>
+<P></P>
+</BODY></HTML>
Added: cxf/fediz/trunk/systests/springWebapp/src/main/webapp/secure/test.html
URL:
http://svn.apache.org/viewvc/cxf/fediz/trunk/systests/springWebapp/src/main/webapp/secure/test.html?rev=1435180&view=auto
==============================================================================
--- cxf/fediz/trunk/systests/springWebapp/src/main/webapp/secure/test.html
(added)
+++ cxf/fediz/trunk/systests/springWebapp/src/main/webapp/secure/test.html Fri
Jan 18 15:13:41 2013
@@ -0,0 +1,25 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML><HEAD><TITLE>WS Federation Tomcat Examples</TITLE>
+<META http-equiv=Content-Type content="text/html">
+</HEAD>
+<BODY>
+<P>
+<H3>Secure Test</H3>
+<P></P>
+</BODY></HTML>