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 87794101FF for ; Fri, 29 Nov 2013 16:05:17 +0000 (UTC) Received: (qmail 48028 invoked by uid 500); 29 Nov 2013 16:04:39 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 47860 invoked by uid 500); 29 Nov 2013 16:04:31 -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 47692 invoked by uid 99); 29 Nov 2013 16:04:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Nov 2013 16:04:25 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED 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; Fri, 29 Nov 2013 16:04:24 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 7F2FF2388A56; Fri, 29 Nov 2013 16:04:04 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1546590 - /cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/x509/X509TokenTest.java Date: Fri, 29 Nov 2013 16:04:04 -0000 To: commits@cxf.apache.org From: coheigea@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20131129160404.7F2FF2388A56@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: coheigea Date: Fri Nov 29 16:04:04 2013 New Revision: 1546590 URL: http://svn.apache.org/r1546590 Log: Fixing cert constraint test with the streaming code Modified: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/x509/X509TokenTest.java Modified: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/x509/X509TokenTest.java URL: http://svn.apache.org/viewvc/cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/x509/X509TokenTest.java?rev=1546590&r1=1546589&r2=1546590&view=diff ============================================================================== --- cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/x509/X509TokenTest.java (original) +++ cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/x509/X509TokenTest.java Fri Nov 29 16:04:04 2013 @@ -973,7 +973,6 @@ public class X509TokenTest extends Abstr } @org.junit.Test - @org.junit.Ignore public void testTransportSupportingSignedCertConstraints() throws Exception { SpringBusFactory bf = new SpringBusFactory(); @@ -1009,6 +1008,9 @@ public class X509TokenTest extends Abstr // expected } + x509Port = service.getPort(portQName, DoubleItPortType.class); + updateAddressPort(x509Port, port); + ((BindingProvider)x509Port).getRequestContext().put(SecurityConstants.SIGNATURE_PROPERTIES, "alice.properties"); ((BindingProvider)x509Port).getRequestContext().put(SecurityConstants.SIGNATURE_USERNAME, "alice");