Added: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Bethal-2.cxf URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Bethal-2.cxf?view=auto&rev=541568 ============================================================================== --- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Bethal-2.cxf (added) +++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Bethal-2.cxf Thu May 24 23:44:27 2007 @@ -0,0 +1,73 @@ +<?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. +--> + +<!-- + ** This file configures the Bethal Server. + ** It is an https server that conditionally responds + ** with 401s. + --> + +<beans xmlns="http://www.springframework.org/schema/beans" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:sec="http://cxf.apache.org/configuration/security" + xmlns:http="http://cxf.apache.org/transports/http/configuration" + xmlns:jaxws="http://java.sun.com/xml/ns/jaxws" + xsi:schemaLocation=" + http://cxf.apache.org/transports/http/configuration + http://cxf.apache.org/schema/transports/http.xsd + http://www.springframework.org/schema/beans + http://www.springframework.org/schema/beans/spring-beans.xsd"> + + <http:destination + id="{http://apache.org/hello_world}GreeterImplPort.http-destination"> + + <http:tlsServerParameters> + <sec:keyManagers keyPassword="password"> + <sec:keyStore type="JKS" password="password" + file="src/test/java/org/apache/cxf/systest/http/resources/Bethal.jks"/> + </sec:keyManagers> + <sec:trustManagers> + <sec:keyStore type="JKS" password="password" + file="src/test/java/org/apache/cxf/systest/http/resources/Truststore.jks"/> + </sec:trustManagers> + <sec:cipherSuitesFilter> + <!-- these filters ensure that a ciphersuite with + export-suitable or null encryption is used, + but exclude anonymous Diffie-Hellman key change as + this is vulnerable to man-in-the-middle attacks --> + <sec:include>.*_EXPORT_.*</sec:include> + <sec:include>.*_EXPORT1024_.*</sec:include> + <sec:include>.*_WITH_DES_.*</sec:include> + <sec:include>.*_WITH_NULL_.*</sec:include> + <sec:exclude>.*_DH_anon_.*</sec:exclude> + </sec:cipherSuitesFilter> + <sec:clientAuthentication want="true" required="true"/> + </http:tlsServerParameters> + </http:destination> + + <bean id="cxf" class="org.apache.cxf.bus.CXFBusImpl"> + <property name="inInterceptors"> + <list> + <bean class="org.apache.cxf.systest.http.PushBack401"/> + </list> + </property> + </bean> + +</beans>
Added: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Gordy-2.cxf URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Gordy-2.cxf?view=auto&rev=541568 ============================================================================== --- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Gordy-2.cxf (added) +++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Gordy-2.cxf Thu May 24 23:44:27 2007 @@ -0,0 +1,65 @@ +<?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. +--> + +<!-- + ** This file configures the Gordy Server. + ** It is an https server that redirects to Bethal. + --> + +<beans xmlns="http://www.springframework.org/schema/beans" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:sec="http://cxf.apache.org/configuration/security" + xmlns:http="http://cxf.apache.org/transports/http/configuration" + xmlns:jaxws="http://java.sun.com/xml/ns/jaxws" + xsi:schemaLocation=" + http://cxf.apache.org/transports/http/configuration + http://cxf.apache.org/schema/transports/http.xsd + http://www.springframework.org/schema/beans + http://www.springframework.org/schema/beans/spring-beans.xsd"> + + <http:destination id="{http://apache.org/hello_world}GreeterImplPort.http-destination"> + <http:tlsServerParameters> + <sec:keyManagers keyPassword="password"> + <sec:keyStore type="JKS" password="password" + file="src/test/java/org/apache/cxf/systest/http/resources/Gordy.jks"/> + </sec:keyManagers> + <sec:trustManagers> + <sec:keyStore type="JKS" password="password" + file="src/test/java/org/apache/cxf/systest/http/resources/Truststore.jks"/> + </sec:trustManagers> + <sec:cipherSuitesFilter> + <!-- these filters ensure that a ciphersuite with + export-suitable or null encryption is used, + but exclude anonymous Diffie-Hellman key change as + this is vulnerable to man-in-the-middle attacks --> + <sec:include>.*_EXPORT_.*</sec:include> + <sec:include>.*_EXPORT1024_.*</sec:include> + <sec:include>.*_WITH_DES_.*</sec:include> + <sec:include>.*_WITH_NULL_.*</sec:include> + <sec:exclude>.*_DH_anon_.*</sec:exclude> + </sec:cipherSuitesFilter> + <sec:clientAuthentication want="true" required="true"/> + </http:tlsServerParameters> + <http:server RedirectURL="https://localhost:9002/Bethal"/> + </http:destination> + + <!-- We need a bean named "cxf", or SpringBusFactory barfs --> + <bean id="cxf" class="org.apache.cxf.bus.CXFBusImpl"/> +</beans> Added: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Http2HttpLoopRedirectFail-2.cxf URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Http2HttpLoopRedirectFail-2.cxf?view=auto&rev=541568 ============================================================================== --- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Http2HttpLoopRedirectFail-2.cxf (added) +++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Http2HttpLoopRedirectFail-2.cxf Thu May 24 23:44:27 2007 @@ -0,0 +1,16 @@ +<beans xmlns="http://www.springframework.org/schema/beans" + xmlns:xsi="http:www.w3.org/2001/XMLSchema-instance" + xmlns:http="http://cxf.apache.org/transports/http/configuration" + xmlns:sec="http://cxf.apache.org/configuration/security" + xmlns:schemaLocation="http://cxf.apache.org/transports/httpconfiguration + http://cxf.apache.org/schema/transports/http.xsd + http://www.springframework.org/schema/beans/ + http://www.springframework.org/schema/beans/spring-beans.xsd"> + + <http:conduit id="{http://apache.org/hello_world}Hurlon.http-conduit"> + + <http:client AutoRedirect="true"/> + + </http:conduit> + +</beans> Added: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Http2HttpRedirect-2.cxf URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Http2HttpRedirect-2.cxf?view=auto&rev=541568 ============================================================================== --- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Http2HttpRedirect-2.cxf (added) +++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Http2HttpRedirect-2.cxf Thu May 24 23:44:27 2007 @@ -0,0 +1,16 @@ +<beans xmlns="http://www.springframework.org/schema/beans" + xmlns:xsi="http:www.w3.org/2001/XMLSchema-instance" + xmlns:http="http://cxf.apache.org/transports/http/configuration" + xmlns:sec="http://cxf.apache.org/configuration/security" + xmlns:schemaLocation="http://cxf.apache.org/transports/httpconfiguration + http://cxf.apache.org/schema/transports/http.xsd + http://www.springframework.org/schema/beans/ + http://www.springframework.org/schema/beans/spring-beans.xsd"> + + <http:conduit id="{http://apache.org/hello_world}Rethwel.http-conduit"> + + <http:client AutoRedirect="true"/> + + </http:conduit> + +</beans> Added: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Hurlon-2.cxf URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Hurlon-2.cxf?view=auto&rev=541568 ============================================================================== --- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Hurlon-2.cxf (added) +++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Hurlon-2.cxf Thu May 24 23:44:27 2007 @@ -0,0 +1,44 @@ +<?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. +--> + +<!-- + ** This file configures the Hurlon Server. + ** It is an http server that redirects to Abost. + --> + +<beans xmlns="http://www.springframework.org/schema/beans" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:sec="http://cxf.apache.org/configuration/security" + xmlns:http="http://cxf.apache.org/transports/http/configuration" + xmlns:jaxws="http://java.sun.com/xml/ns/jaxws" + xsi:schemaLocation=" + http://cxf.apache.org/transports/http/configuration + http://cxf.apache.org/schema/transports/http.xsd + http://www.springframework.org/schema/beans + http://www.springframework.org/schema/beans/spring-beans.xsd"> + + <http:destination id="{http://apache.org/hello_world}GreeterImplPort.http-destination"> + + <http:server RedirectURL="http://localhost:9007/Abost"/> + </http:destination> + + <!-- We need a bean named "cxf", or SpringBusFactory barfs --> + <bean id="cxf" class="org.apache.cxf.bus.CXFBusImpl"/> +</beans> Added: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Morpit-2.cxf URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Morpit-2.cxf?view=auto&rev=541568 ============================================================================== --- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Morpit-2.cxf (added) +++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Morpit-2.cxf Thu May 24 23:44:27 2007 @@ -0,0 +1,65 @@ +<?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. +--> + +<!-- + ** This file configures the Morpit Server. It is just an + ** Https server with a name that will kick in the HostnameVerifier. + --> + +<beans xmlns="http://www.springframework.org/schema/beans" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:sec="http://cxf.apache.org/configuration/security" + xmlns:http="http://cxf.apache.org/transports/http/configuration" + xmlns:jaxws="http://java.sun.com/xml/ns/jaxws" + xsi:schemaLocation=" + http://cxf.apache.org/transports/http/configuration + http://cxf.apache.org/schema/transports/http.xsd + http://www.springframework.org/schema/beans + http://www.springframework.org/schema/beans/spring-beans.xsd"> + + <http:destination id="{http://apache.org/hello_world}GreeterImplPort.http-destination"> + <http:tlsServerParameters> + <sec:keyManagers keyPassword="password"> + <sec:keyStore type="JKS" password="password" + file="src/test/java/org/apache/cxf/systest/http/resources/Morpit.jks"/> + </sec:keyManagers> + <sec:trustManagers> + <sec:keyStore type="JKS" password="password" + file="src/test/java/org/apache/cxf/systest/http/resources/Truststore.jks"/> + </sec:trustManagers> + <sec:cipherSuitesFilter> + <!-- these filters ensure that a ciphersuite with + export-suitable or null encryption is used, + but exclude anonymous Diffie-Hellman key change as + this is vulnerable to man-in-the-middle attacks --> + <sec:include>.*_EXPORT_.*</sec:include> + <sec:include>.*_EXPORT1024_.*</sec:include> + <sec:include>.*_WITH_DES_.*</sec:include> + <sec:include>.*_WITH_NULL_.*</sec:include> + <sec:exclude>.*_DH_anon_.*</sec:exclude> + </sec:cipherSuitesFilter> + <sec:clientAuthentication want="true" required="true"/> + </http:tlsServerParameters> + </http:sslServer> + </http:destination> + + <!-- We need a bean named "cxf", or SpringBusFactory barfs --> + <bean id="cxf" class="org.apache.cxf.bus.CXFBusImpl"/> +</beans> Added: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Mortimer-2.cxf URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Mortimer-2.cxf?view=auto&rev=541568 ============================================================================== --- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Mortimer-2.cxf (added) +++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Mortimer-2.cxf Thu May 24 23:44:27 2007 @@ -0,0 +1,43 @@ +<?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. +--> + +<!-- + ** This file configures the Mortimer Server. + ** It is an http server. + --> + +<beans xmlns="http://www.springframework.org/schema/beans" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:sec="http://cxf.apache.org/configuration/security" + xmlns:http="http://cxf.apache.org/transports/http/configuration" + xmlns:jaxws="http://java.sun.com/xml/ns/jaxws" + xsi:schemaLocation=" + http://cxf.apache.org/transports/http/configuration + http://cxf.apache.org/schema/transports/http.xsd + http://www.springframework.org/schema/beans + http://www.springframework.org/schema/beans/spring-beans.xsd"> + + <http:destination id="{http://apache.org/hello_world}GreeterImplPort.http-destination"> + <!-- Nothing to Configure here for Mortimer --> + </http:destination> + + <!-- We need a bean named "cxf", or SpringBusFactory barfs --> + <bean id="cxf" class="org.apache.cxf.bus.CXFBusImpl"/> +</beans> Added: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Poltim-2.cxf URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Poltim-2.cxf?view=auto&rev=541568 ============================================================================== --- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Poltim-2.cxf (added) +++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Poltim-2.cxf Thu May 24 23:44:27 2007 @@ -0,0 +1,65 @@ +<?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. +--> + +<!-- + ** This file configures the Poltim Server. + ** It is an https server that redirects to Mortimer. + --> + +<beans xmlns="http://www.springframework.org/schema/beans" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:sec="http://cxf.apache.org/configuration/security" + xmlns:http="http://cxf.apache.org/transports/http/configuration" + xmlns:jaxws="http://java.sun.com/xml/ns/jaxws" + xsi:schemaLocation=" + http://cxf.apache.org/transports/http/configuration + http://cxf.apache.org/schema/transports/http.xsd + http://www.springframework.org/schema/beans + http://www.springframework.org/schema/beans/spring-beans.xsd"> + + <http:destination id="{http://apache.org/hello_world}GreeterImplPort.http-destination"> + <http:tlsServerParameters> + <sec:keyManagers keyPassword="password"> + <sec:keyStore type="JKS" password="password" + file="src/test/java/org/apache/cxf/systest/http/resources/Poltim.jks"/> + </sec:keyManagers> + <sec:trustManagers> + <sec:keyStore type="JKS" password="password" + file="src/test/java/org/apache/cxf/systest/http/resources/Truststore.jks"/> + </sec:trustManagers> + <sec:cipherSuitesFilter> + <!-- these filters ensure that a ciphersuite with + export-suitable or null encryption is used, + but exclude anonymous Diffie-Hellman key change as + this is vulnerable to man-in-the-middle attacks --> + <sec:include>.*_EXPORT_.*</sec:include> + <sec:include>.*_EXPORT1024_.*</sec:include> + <sec:include>.*_WITH_DES_.*</sec:include> + <sec:include>.*_WITH_NULL_.*</sec:include> + <sec:exclude>.*_DH_anon_.*</sec:exclude> + </sec:cipherSuitesFilter> + <sec:clientAuthentication want="true" required="true"/> + </http:tlsServerParameters> + <http:server RedirectURL="http://localhost:9000/Mortimer"/> + </http:destination> + + <!-- We need a bean named "cxf", or SpringBusFactory barfs --> + <bean id="cxf" class="org.apache.cxf.bus.CXFBusImpl"/> +</beans> Added: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Rethwel-2.cxf URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Rethwel-2.cxf?view=auto&rev=541568 ============================================================================== --- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Rethwel-2.cxf (added) +++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Rethwel-2.cxf Thu May 24 23:44:27 2007 @@ -0,0 +1,44 @@ +<?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. +--> + +<!-- + ** This file configures the Rethwel Server. + ** It is an http server that redirects to Mortimer. + --> + +<beans xmlns="http://www.springframework.org/schema/beans" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:sec="http://cxf.apache.org/configuration/security" + xmlns:http="http://cxf.apache.org/transports/http/configuration" + xmlns:jaxws="http://java.sun.com/xml/ns/jaxws" + xsi:schemaLocation=" + http://cxf.apache.org/transports/http/configuration + http://cxf.apache.org/schema/transports/http.xsd + http://www.springframework.org/schema/beans + http://www.springframework.org/schema/beans/spring-beans.xsd"> + + <http:destination id="{http://apache.org/hello_world}GreeterImplPort.http-destination"> + + <http:server RedirectURL="http://localhost:9000/Mortimer"/> + </http:destination> + + <!-- We need a bean named "cxf", or SpringBusFactory barfs --> + <bean id="cxf" class="org.apache.cxf.bus.CXFBusImpl"/> +</beans> Added: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Tarpin-2.cxf URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Tarpin-2.cxf?view=auto&rev=541568 ============================================================================== --- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Tarpin-2.cxf (added) +++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/http/resources/Tarpin-2.cxf Thu May 24 23:44:27 2007 @@ -0,0 +1,65 @@ +<?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. +--> + +<!-- + ** This file configures the Tarpin Server. + ** It is an https server that redirects to Gordy. + --> + +<beans xmlns="http://www.springframework.org/schema/beans" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:sec="http://cxf.apache.org/configuration/security" + xmlns:http="http://cxf.apache.org/transports/http/configuration" + xmlns:jaxws="http://java.sun.com/xml/ns/jaxws" + xsi:schemaLocation=" + http://cxf.apache.org/transports/http/configuration + http://cxf.apache.org/schema/transports/http.xsd + http://www.springframework.org/schema/beans + http://www.springframework.org/schema/beans/spring-beans.xsd"> + + <http:destination id="{http://apache.org/hello_world}GreeterImplPort.http-destination"> + <http:tlsServerParameters> + <sec:keyManagers keyPassword="password"> + <sec:keyStore type="JKS" password="password" + file="src/test/java/org/apache/cxf/systest/http/resources/Tarpin.jks"/> + </sec:keyManagers> + <sec:trustManagers> + <sec:keyStore type="JKS" password="password" + file="src/test/java/org/apache/cxf/systest/http/resources/Truststore.jks"/> + </sec:trustManagers> + <sec:cipherSuitesFilter> + <!-- these filters ensure that a ciphersuite with + export-suitable or null encryption is used, + but exclude anonymous Diffie-Hellman key change as + this is vulnerable to man-in-the-middle attacks --> + <sec:include>.*_EXPORT_.*</sec:include> + <sec:include>.*_EXPORT1024_.*</sec:include> + <sec:include>.*_WITH_DES_.*</sec:include> + <sec:include>.*_WITH_NULL_.*</sec:include> + <sec:exclude>.*_DH_anon_.*</sec:exclude> + </sec:cipherSuitesFilter> + <sec:clientAuthentication want="true" required="true"/> + </http:tlsServerParameters> + <http:server RedirectURL="https://localhost:9001/Gordy"/> + </http:destination> + + <!-- We need a bean named "cxf", or SpringBusFactory barfs --> + <bean id="cxf" class="org.apache.cxf.bus.CXFBusImpl"/> +</beans> Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/management/CountersClientServerTest.java URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/management/CountersClientServerTest.java?view=diff&rev=541568&r1=541567&r2=541568 ============================================================================== --- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/management/CountersClientServerTest.java (original) +++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/management/CountersClientServerTest.java Thu May 24 23:44:27 2007 @@ -39,6 +39,7 @@ import org.apache.hello_world_soap_http.Greeter; import org.apache.hello_world_soap_http.GreeterImpl; import org.apache.hello_world_soap_http.SOAPService; +import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; @@ -75,6 +76,11 @@ @BeforeClass public static void startServers() throws Exception { assertTrue("server did not launch correctly", launchServer(Server.class, true)); + } + + @AfterClass + public static void shutdownBus() throws Exception { + BusFactory.getDefaultBus().shutdown(false); } @Test Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/management/ManagedBusTest.java URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/management/ManagedBusTest.java?view=diff&rev=541568&r1=541567&r2=541568 ============================================================================== --- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/management/ManagedBusTest.java (original) +++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/management/ManagedBusTest.java Thu May 24 23:44:27 2007 @@ -93,6 +93,6 @@ mbs.invoke(n, "shutdown", params, sig); } - bus.shutdown(true); + bus.shutdown(false); } } Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/management/ManagedClientServerTest.java URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/management/ManagedClientServerTest.java?view=diff&rev=541568&r1=541567&r2=541568 ============================================================================== --- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/management/ManagedClientServerTest.java (original) +++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/management/ManagedClientServerTest.java Thu May 24 23:44:27 2007 @@ -37,6 +37,7 @@ import org.apache.hello_world_soap_http.Greeter; import org.apache.hello_world_soap_http.GreeterImpl; import org.apache.hello_world_soap_http.SOAPService; +import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; @@ -73,6 +74,11 @@ @BeforeClass public static void startServers() throws Exception { assertTrue("server did not launch correctly", launchServer(Server.class, true)); + } + + @AfterClass + public static void shutdownBus() throws Exception { + BusFactory.getDefaultBus().shutdown(false); } @Test
