Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0C1279E57 for ; Tue, 10 Apr 2012 16:21:20 +0000 (UTC) Received: (qmail 74263 invoked by uid 500); 10 Apr 2012 16:21:19 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 74207 invoked by uid 500); 10 Apr 2012 16:21:19 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 74199 invoked by uid 99); 10 Apr 2012 16:21:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2012 16:21:19 +0000 X-ASF-Spam-Status: No, hits=-1996.3 required=5.0 tests=ALL_TRUSTED,LOTTO_AGENT X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2012 16:21:15 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id DDC68238896F; Tue, 10 Apr 2012 16:20:55 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1311833 - in /cxf/trunk: rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/interceptors/ rt/ws/security/src/main/java/org/apache/cxf/ws/security/trust/ services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/re... Date: Tue, 10 Apr 2012 16:20:55 -0000 To: commits@cxf.apache.org From: coheigea@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120410162055.DDC68238896F@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: coheigea Date: Tue Apr 10 16:20:54 2012 New Revision: 1311833 URL: http://svn.apache.org/viewvc?rev=1311833&view=rev Log: [CXF-4158] - Added some initial system tests for renewing SAML tokens & did some reshuffling in the STSClient Added: cxf/trunk/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/renew/ cxf/trunk/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/renew/SAMLRenewUnitTest.java cxf/trunk/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/renew/STSServer.java cxf/trunk/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/renew/Server.java cxf/trunk/services/sts/systests/advanced/src/test/resources/org/apache/cxf/systest/sts/renew/ cxf/trunk/services/sts/systests/advanced/src/test/resources/org/apache/cxf/systest/sts/renew/cxf-client-unit.xml cxf/trunk/services/sts/systests/advanced/src/test/resources/org/apache/cxf/systest/sts/renew/cxf-sts.xml cxf/trunk/services/sts/systests/advanced/src/test/resources/org/apache/cxf/systest/sts/renew/ws-trust-1.4-service.wsdl Modified: cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/interceptors/SecureConversationOutInterceptor.java cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/trust/STSClient.java Modified: cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/interceptors/SecureConversationOutInterceptor.java URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/interceptors/SecureConversationOutInterceptor.java?rev=1311833&r1=1311832&r2=1311833&view=diff ============================================================================== --- cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/interceptors/SecureConversationOutInterceptor.java (original) +++ cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/interceptors/SecureConversationOutInterceptor.java Tue Apr 10 16:20:54 2012 @@ -68,7 +68,7 @@ class SecureConversationOutInterceptor e if (tok == null) { tok = issueToken(message, aim, itok); } else { - renewToken(message, aim, tok, itok); + tok = renewToken(message, aim, tok, itok); } if (tok != null) { for (AssertionInfo ai : ais) { @@ -91,12 +91,12 @@ class SecureConversationOutInterceptor e } - private void renewToken(SoapMessage message, + private SecurityToken renewToken(SoapMessage message, AssertionInfoMap aim, SecurityToken tok, SecureConversationToken itok) { if (!tok.isExpired()) { - return; + return tok; } STSClient client = STSUtils.getClient(message, "sct"); @@ -107,7 +107,7 @@ class SecureConversationOutInterceptor e maps = (AddressingProperties)message .get("javax.xml.ws.addressing.context"); } else if (maps.getAction().getValue().endsWith("Renew")) { - return; + return tok; } synchronized (client) { try { @@ -122,7 +122,7 @@ class SecureConversationOutInterceptor e if (maps != null) { client.setAddressingNamespace(maps.getNamespaceURI()); } - client.renewSecurityToken(tok); + return client.renewSecurityToken(tok); } catch (RuntimeException e) { throw e; } catch (Exception e) { Modified: cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/trust/STSClient.java URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/trust/STSClient.java?rev=1311833&r1=1311832&r2=1311833&view=diff ============================================================================== --- cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/trust/STSClient.java (original) +++ cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/trust/STSClient.java Tue Apr 10 16:20:54 2012 @@ -685,11 +685,7 @@ public class STSClient implements Config if (target != null) { writer.writeStartElement("wst", "RenewTarget", namespace); client.getRequestContext().put(SecurityConstants.TOKEN, target); - Element el = target.getUnattachedReference(); - if (el == null) { - el = target.getAttachedReference(); - } - StaxUtils.copy(el, writer); + StaxUtils.copy(target.getToken(), writer); writer.writeEndElement(); } @@ -852,12 +848,79 @@ public class STSClient implements Config return (Element)nd; } - public void renewSecurityToken(SecurityToken tok) throws Exception { - String action = null; + public SecurityToken renewSecurityToken(SecurityToken tok) throws Exception { + createClient(); + BindingOperationInfo boi = findOperation("/RST/Renew"); + + client.getRequestContext().putAll(ctx); if (isSecureConv) { - action = namespace + "/RST/SCT/Renew"; + client.getRequestContext().put(SoapBindingConstants.SOAP_ACTION, namespace + "/RST/SCT/Renew"); + } else { + client.getRequestContext().put(SoapBindingConstants.SOAP_ACTION, namespace + "/RST/Renew"); + } + + W3CDOMStreamWriter writer = new W3CDOMStreamWriter(); + writer.writeStartElement("wst", "RequestSecurityToken", namespace); + writer.writeNamespace("wst", namespace); + if (context != null) { + writer.writeAttribute(null, "Context", context); + } + + String sptt = null; + if (template != null) { + if (this.useSecondaryParameters()) { + writer.writeStartElement("wst", "SecondaryParameters", namespace); + } + + Element tl = DOMUtils.getFirstElement(template); + while (tl != null) { + StaxUtils.copy(tl, writer); + if ("TokenType".equals(tl.getLocalName())) { + sptt = DOMUtils.getContent(tl); + } + tl = DOMUtils.getNextElement(tl); + } + + if (this.useSecondaryParameters()) { + writer.writeEndElement(); + } + } + + if (isSpnego) { + tokenType = STSUtils.getTokenTypeSCT(namespace); } - requestSecurityToken(tok.getIssuerAddress(), action, "/Renew", tok); + + addRequestType("/Renew", writer); + if (enableAppliesTo) { + addAppliesTo(writer, tok.getIssuerAddress()); + } + + if (sptt == null) { + addTokenType(writer); + } + if (isSecureConv || enableLifetime) { + addLifetime(writer); + } + + writer.writeStartElement("wst", "RenewTarget", namespace); + client.getRequestContext().put(SecurityConstants.TOKEN, tok); + StaxUtils.copy(tok.getToken(), writer); + writer.writeEndElement(); + + writer.writeEndElement(); + + Object obj[] = client.invoke(boi, new DOMSource(writer.getDocument().getDocumentElement())); + + SecurityToken token = createSecurityToken(getDocumentElement((DOMSource)obj[0]), null); + if (token.getTokenType() == null) { + if (sptt != null) { + token.setTokenType(sptt); + } else if (tokenType != null) { + token.setTokenType(tokenType); + } + } + return token; + } protected PrimitiveAssertion getAddressingAssertion() { Added: cxf/trunk/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/renew/SAMLRenewUnitTest.java URL: http://svn.apache.org/viewvc/cxf/trunk/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/renew/SAMLRenewUnitTest.java?rev=1311833&view=auto ============================================================================== --- cxf/trunk/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/renew/SAMLRenewUnitTest.java (added) +++ cxf/trunk/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/renew/SAMLRenewUnitTest.java Tue Apr 10 16:20:54 2012 @@ -0,0 +1,234 @@ +/** + * 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.systest.sts.renew; + +import java.net.URL; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import org.apache.cxf.Bus; +import org.apache.cxf.bus.spring.SpringBusFactory; +import org.apache.cxf.systest.sts.common.SecurityTestUtil; +import org.apache.cxf.testutil.common.AbstractBusClientServerTestBase; +import org.apache.cxf.ws.security.SecurityConstants; +import org.apache.cxf.ws.security.tokenstore.SecurityToken; +import org.apache.cxf.ws.security.trust.STSClient; +import org.apache.ws.security.WSConstants; +import org.junit.BeforeClass; + +/** + * In this test case, a CXF client requests a SAML Token from an STS and then tries to renew it. + */ +public class SAMLRenewUnitTest extends AbstractBusClientServerTestBase { + + static final String STSPORT = allocatePort(STSServer.class); + + @BeforeClass + public static void startServers() throws Exception { + assertTrue( + "Server failed to launch", + // run the server in the same process + // set this to false to fork + launchServer(STSServer.class, true) + ); + } + + @org.junit.AfterClass + public static void cleanup() { + SecurityTestUtil.cleanup(); + } + + @org.junit.Test + public void testRenewSAML1Token() throws Exception { + SpringBusFactory bf = new SpringBusFactory(); + URL busFile = SAMLRenewUnitTest.class.getResource("cxf-client-unit.xml"); + + Bus bus = bf.createBus(busFile.toString()); + SpringBusFactory.setDefaultBus(bus); + SpringBusFactory.setThreadDefaultBus(bus); + + String wsdlLocation = + "https://localhost:" + STSPORT + "/SecurityTokenService/Transport?wsdl"; + + // Request the token + SecurityToken token = requestSecurityToken(bus, wsdlLocation, WSConstants.WSS_SAML_TOKEN_TYPE, 5); + assertNotNull(token); + // Sleep to expire the token + Thread.sleep(5000); + + // Renew the token + SecurityToken renewedToken = renewSecurityToken(bus, wsdlLocation, token); + assertFalse(token.equals(renewedToken)); + + // Try to validate old token -> fail. + try { + validateSecurityToken(bus, wsdlLocation, token); + fail("Failure expected on trying to renew the old token"); + } catch (Exception ex) { + // expected + } + + // Validate the renewed token + validateSecurityToken(bus, wsdlLocation, renewedToken); + } + + @org.junit.Test + public void testRenewSAML2Token() throws Exception { + SpringBusFactory bf = new SpringBusFactory(); + URL busFile = SAMLRenewUnitTest.class.getResource("cxf-client-unit.xml"); + + Bus bus = bf.createBus(busFile.toString()); + SpringBusFactory.setDefaultBus(bus); + SpringBusFactory.setThreadDefaultBus(bus); + + String wsdlLocation = + "https://localhost:" + STSPORT + "/SecurityTokenService/Transport?wsdl"; + + // Request the token + SecurityToken token = requestSecurityToken(bus, wsdlLocation, WSConstants.WSS_SAML2_TOKEN_TYPE, 5); + assertNotNull(token); + // Sleep to expire the token + Thread.sleep(5000); + + // Renew the token + SecurityToken renewedToken = renewSecurityToken(bus, wsdlLocation, token); + assertFalse(token.equals(renewedToken)); + + // Try to validate old token -> fail. + try { + validateSecurityToken(bus, wsdlLocation, token); + fail("Failure expected on trying to renew the old token"); + } catch (Exception ex) { + // expected + } + + // Validate the renewed token + validateSecurityToken(bus, wsdlLocation, renewedToken); + } + + @org.junit.Test + public void testRenewValidSAML1Token() throws Exception { + SpringBusFactory bf = new SpringBusFactory(); + URL busFile = SAMLRenewUnitTest.class.getResource("cxf-client-unit.xml"); + + Bus bus = bf.createBus(busFile.toString()); + SpringBusFactory.setDefaultBus(bus); + SpringBusFactory.setThreadDefaultBus(bus); + + String wsdlLocation = + "https://localhost:" + STSPORT + "/SecurityTokenService/Transport?wsdl"; + + // Request the token + SecurityToken token = requestSecurityToken(bus, wsdlLocation, WSConstants.WSS_SAML_TOKEN_TYPE, 300); + assertNotNull(token); + + // Validate the token + List validatedTokens = validateSecurityToken(bus, wsdlLocation, token); + assertFalse(validatedTokens.isEmpty()); + assertTrue(validatedTokens.get(0).equals(token)); + + // Renew the token - this should fail as the STS will reject an attempt to renew a valid token + // unless it has been configured otherwise + try { + renewSecurityToken(bus, wsdlLocation, token); + fail("Failure expected on trying to renew a valid token"); + } catch (Exception ex) { + // expected + } + } + + private SecurityToken requestSecurityToken( + Bus bus, String wsdlLocation, String tokenType, int ttl + ) throws Exception { + STSClient stsClient = new STSClient(bus); + stsClient.setWsdlLocation(wsdlLocation); + stsClient.setServiceName("{http://docs.oasis-open.org/ws-sx/ws-trust/200512/}SecurityTokenService"); + stsClient.setEndpointName("{http://docs.oasis-open.org/ws-sx/ws-trust/200512/}Transport_Port"); + stsClient.setTokenType(tokenType); + stsClient.setKeyType("http://docs.oasis-open.org/ws-sx/ws-trust/200512/Bearer"); + + Map properties = new HashMap(); + properties.put(SecurityConstants.USERNAME, "alice"); + properties.put( + SecurityConstants.CALLBACK_HANDLER, + "org.apache.cxf.systest.sts.common.CommonCallbackHandler" + ); + properties.put(SecurityConstants.STS_TOKEN_PROPERTIES, "serviceKeystore.properties"); + + stsClient.setTtl(ttl); + stsClient.setEnableLifetime(true); + + stsClient.setProperties(properties); + stsClient.setRequiresEntropy(true); + stsClient.setKeySize(128); + stsClient.setAddressingNamespace("http://www.w3.org/2005/08/addressing"); + + return stsClient.requestSecurityToken("https://localhost:8081/doubleit/services/doubleittransport"); + } + + private List validateSecurityToken( + Bus bus, String wsdlLocation, SecurityToken securityToken + ) throws Exception { + STSClient stsClient = new STSClient(bus); + stsClient.setWsdlLocation(wsdlLocation); + stsClient.setServiceName("{http://docs.oasis-open.org/ws-sx/ws-trust/200512/}SecurityTokenService"); + stsClient.setEndpointName("{http://docs.oasis-open.org/ws-sx/ws-trust/200512/}Transport_Port"); + + Map properties = new HashMap(); + properties.put(SecurityConstants.USERNAME, "alice"); + properties.put( + SecurityConstants.CALLBACK_HANDLER, + "org.apache.cxf.systest.sts.common.CommonCallbackHandler" + ); + properties.put(SecurityConstants.STS_TOKEN_PROPERTIES, "serviceKeystore.properties"); + + stsClient.setProperties(properties); + stsClient.setAddressingNamespace("http://www.w3.org/2005/08/addressing"); + + return stsClient.validateSecurityToken(securityToken); + } + + private SecurityToken renewSecurityToken( + Bus bus, String wsdlLocation, SecurityToken securityToken + ) throws Exception { + STSClient stsClient = new STSClient(bus); + stsClient.setWsdlLocation(wsdlLocation); + stsClient.setServiceName("{http://docs.oasis-open.org/ws-sx/ws-trust/200512/}SecurityTokenService"); + stsClient.setEndpointName("{http://docs.oasis-open.org/ws-sx/ws-trust/200512/}Transport_Port"); + + Map properties = new HashMap(); + properties.put(SecurityConstants.USERNAME, "alice"); + properties.put( + SecurityConstants.CALLBACK_HANDLER, + "org.apache.cxf.systest.sts.common.CommonCallbackHandler" + ); + properties.put(SecurityConstants.STS_TOKEN_PROPERTIES, "serviceKeystore.properties"); + + stsClient.setEnableAppliesTo(false); + // Request a token with a TTL of 60 minutes + stsClient.setTtl(60 * 60); + stsClient.setEnableLifetime(true); + stsClient.setProperties(properties); + stsClient.setAddressingNamespace("http://www.w3.org/2005/08/addressing"); + + return stsClient.renewSecurityToken(securityToken); + } + +} Added: cxf/trunk/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/renew/STSServer.java URL: http://svn.apache.org/viewvc/cxf/trunk/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/renew/STSServer.java?rev=1311833&view=auto ============================================================================== --- cxf/trunk/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/renew/STSServer.java (added) +++ cxf/trunk/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/renew/STSServer.java Tue Apr 10 16:20:54 2012 @@ -0,0 +1,50 @@ +/** + * 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.systest.sts.renew; + +import java.net.URL; + +import org.apache.cxf.Bus; +import org.apache.cxf.BusFactory; +import org.apache.cxf.bus.spring.SpringBusFactory; +import org.apache.cxf.testutil.common.AbstractBusTestServerBase; + +public class STSServer extends AbstractBusTestServerBase { + + public STSServer() { + + } + + protected void run() { + URL busFile = STSServer.class.getResource("cxf-sts.xml"); + Bus busLocal = new SpringBusFactory().createBus(busFile); + BusFactory.setDefaultBus(busLocal); + setBus(busLocal); + + try { + new STSServer(); + } catch (Exception e) { + e.printStackTrace(); + } + } + + public static void main(String args[]) { + new STSServer().run(); + } +} Added: cxf/trunk/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/renew/Server.java URL: http://svn.apache.org/viewvc/cxf/trunk/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/renew/Server.java?rev=1311833&view=auto ============================================================================== --- cxf/trunk/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/renew/Server.java (added) +++ cxf/trunk/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/renew/Server.java Tue Apr 10 16:20:54 2012 @@ -0,0 +1,46 @@ +/** + * 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.systest.sts.renew; + +import java.net.URL; + +import org.apache.cxf.Bus; +import org.apache.cxf.BusFactory; +import org.apache.cxf.bus.spring.SpringBusFactory; +import org.apache.cxf.testutil.common.AbstractBusTestServerBase; + +public class Server extends AbstractBusTestServerBase { + + public Server() { + + } + + protected void run() { + URL busFile = Server.class.getResource("cxf-service.xml"); + Bus busLocal = new SpringBusFactory().createBus(busFile); + BusFactory.setDefaultBus(busLocal); + setBus(busLocal); + + try { + new Server(); + } catch (Exception e) { + e.printStackTrace(); + } + } +} Added: cxf/trunk/services/sts/systests/advanced/src/test/resources/org/apache/cxf/systest/sts/renew/cxf-client-unit.xml URL: http://svn.apache.org/viewvc/cxf/trunk/services/sts/systests/advanced/src/test/resources/org/apache/cxf/systest/sts/renew/cxf-client-unit.xml?rev=1311833&view=auto ============================================================================== --- cxf/trunk/services/sts/systests/advanced/src/test/resources/org/apache/cxf/systest/sts/renew/cxf-client-unit.xml (added) +++ cxf/trunk/services/sts/systests/advanced/src/test/resources/org/apache/cxf/systest/sts/renew/cxf-client-unit.xml Tue Apr 10 16:20:54 2012 @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + Added: cxf/trunk/services/sts/systests/advanced/src/test/resources/org/apache/cxf/systest/sts/renew/cxf-sts.xml URL: http://svn.apache.org/viewvc/cxf/trunk/services/sts/systests/advanced/src/test/resources/org/apache/cxf/systest/sts/renew/cxf-sts.xml?rev=1311833&view=auto ============================================================================== --- cxf/trunk/services/sts/systests/advanced/src/test/resources/org/apache/cxf/systest/sts/renew/cxf-sts.xml (added) +++ cxf/trunk/services/sts/systests/advanced/src/test/resources/org/apache/cxf/systest/sts/renew/cxf-sts.xml Tue Apr 10 16:20:54 2012 @@ -0,0 +1,192 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + https://localhost:(\d)*/doubleit/services/doubleittransport.* + + + + + + + + + + + + + + + + + + + + + + + + + + .*_EXPORT_.* + .*_EXPORT1024_.* + .*_WITH_DES_.* + .*_WITH_AES_.* + .*_WITH_NULL_.* + .*_DH_anon_.* + + + + + + + + Added: cxf/trunk/services/sts/systests/advanced/src/test/resources/org/apache/cxf/systest/sts/renew/ws-trust-1.4-service.wsdl URL: http://svn.apache.org/viewvc/cxf/trunk/services/sts/systests/advanced/src/test/resources/org/apache/cxf/systest/sts/renew/ws-trust-1.4-service.wsdl?rev=1311833&view=auto ============================================================================== --- cxf/trunk/services/sts/systests/advanced/src/test/resources/org/apache/cxf/systest/sts/renew/ws-trust-1.4-service.wsdl (added) +++ cxf/trunk/services/sts/systests/advanced/src/test/resources/org/apache/cxf/systest/sts/renew/ws-trust-1.4-service.wsdl Tue Apr 10 16:20:54 2012 @@ -0,0 +1,432 @@ + + + > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +