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");