You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2017/06/16 10:38:05 UTC
cxf git commit: Fixing ports
Repository: cxf
Updated Branches:
refs/heads/master 77e0ffed1 -> 3d02791f0
Fixing ports
Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/3d02791f
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/3d02791f
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/3d02791f
Branch: refs/heads/master
Commit: 3d02791f001faf35ea585ce67d3f4564f5c25c1b
Parents: 77e0ffe
Author: Colm O hEigeartaigh <co...@apache.org>
Authored: Fri Jun 16 11:37:25 2017 +0100
Committer: Colm O hEigeartaigh <co...@apache.org>
Committed: Fri Jun 16 11:37:25 2017 +0100
----------------------------------------------------------------------
.../IntermediaryTransformationCachingTest.java | 8 ++++----
.../intermediary_transformation/cxf-intermediary-caching.xml | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cxf/blob/3d02791f/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/intermediary_transformation/IntermediaryTransformationCachingTest.java
----------------------------------------------------------------------
diff --git a/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/intermediary_transformation/IntermediaryTransformationCachingTest.java b/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/intermediary_transformation/IntermediaryTransformationCachingTest.java
index ef90341..b42f3f7 100644
--- a/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/intermediary_transformation/IntermediaryTransformationCachingTest.java
+++ b/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/intermediary_transformation/IntermediaryTransformationCachingTest.java
@@ -41,7 +41,7 @@ import org.junit.BeforeClass;
* service provider. The intermediary service provider validates the token, and then the
* Intermediary client uses delegation to dispatch the received token (via OnBehalfOf) to another
* STS instance. The retrieved token is sent to the service provider via (2-way) TLS. The STSClient is disabled
- * after two invocations, meaning that the Intermediary client must rely on its cache to get tokens.
+ * after two invocations, meaning that the Intermediary client must rely on its cache to get tokens.
*/
public class IntermediaryTransformationCachingTest extends AbstractBusClientServerTestBase {
@@ -53,7 +53,7 @@ public class IntermediaryTransformationCachingTest extends AbstractBusClientServ
private static final String NAMESPACE = "http://www.example.org/contract/DoubleIt";
private static final QName SERVICE_QNAME = new QName(NAMESPACE, "DoubleItService");
- private static final String PORT = allocatePort(Intermediary.class);
+ private static final String PORT = allocatePort(IntermediaryCaching.class);
@BeforeClass
public static void startServers() throws Exception {
@@ -103,7 +103,7 @@ public class IntermediaryTransformationCachingTest extends AbstractBusClientServ
// Make initial successful invocation (for "alice")
doubleIt(alicePort, 25);
-
+
// Make another successful invocation for "bob"
DoubleItPortType bobPort = service.getPort(portQName, DoubleItPortType.class);
updateAddressPort(bobPort, PORT);
@@ -115,7 +115,7 @@ public class IntermediaryTransformationCachingTest extends AbstractBusClientServ
// Make another invocation for "bob" - this should work as the intermediary caches the token
// even though its STSClient is disabled after the second invocation
doubleIt(bobPort, 35);
-
+
// Make another invocation for "alice" - this should work as the intermediary caches the token
// even though its STSClient is disabled after the first invocation
doubleIt(alicePort, 40);
http://git-wip-us.apache.org/repos/asf/cxf/blob/3d02791f/services/sts/systests/basic/src/test/resources/org/apache/cxf/systest/sts/intermediary_transformation/cxf-intermediary-caching.xml
----------------------------------------------------------------------
diff --git a/services/sts/systests/basic/src/test/resources/org/apache/cxf/systest/sts/intermediary_transformation/cxf-intermediary-caching.xml b/services/sts/systests/basic/src/test/resources/org/apache/cxf/systest/sts/intermediary_transformation/cxf-intermediary-caching.xml
index 3748f56..ddd9dd2 100644
--- a/services/sts/systests/basic/src/test/resources/org/apache/cxf/systest/sts/intermediary_transformation/cxf-intermediary-caching.xml
+++ b/services/sts/systests/basic/src/test/resources/org/apache/cxf/systest/sts/intermediary_transformation/cxf-intermediary-caching.xml
@@ -24,7 +24,7 @@
<cxf:logging/>
</cxf:features>
</cxf:bus>
- <jaxws:endpoint xmlns:s="http://www.example.org/contract/DoubleIt" id="doubleittransportsaml1endorsing" implementor="org.apache.cxf.systest.sts.intermediary_transformation.IntermediaryCachingPortTypeImpl" endpointName="s:DoubleItTransportSAML1EndorsingPort" serviceName="s:DoubleItService" depends-on="ClientAuthHttpsSettings" address="https://localhost:${testutil.ports.intermediary_transformation.Intermediary}/doubleit/services/doubleittransportsaml1endorsing" wsdlLocation="org/apache/cxf/systest/sts/intermediary_transformation/DoubleIt.wsdl">
+ <jaxws:endpoint xmlns:s="http://www.example.org/contract/DoubleIt" id="doubleittransportsaml1endorsing" implementor="org.apache.cxf.systest.sts.intermediary_transformation.IntermediaryCachingPortTypeImpl" endpointName="s:DoubleItTransportSAML1EndorsingPort" serviceName="s:DoubleItService" depends-on="ClientAuthHttpsSettings" address="https://localhost:${testutil.ports.intermediary_transformation.IntermediaryCaching}/doubleit/services/doubleittransportsaml1endorsing" wsdlLocation="org/apache/cxf/systest/sts/intermediary_transformation/DoubleIt.wsdl">
<jaxws:properties>
<entry key="security.callback-handler" value="org.apache.cxf.systest.sts.common.CommonCallbackHandler"/>
<entry key="security.signature.properties" value="serviceKeystore.properties"/>
@@ -32,7 +32,7 @@
</jaxws:properties>
</jaxws:endpoint>
<httpj:engine-factory id="ClientAuthHttpsSettings" bus="cxf">
- <httpj:engine port="${testutil.ports.intermediary_transformation.Intermediary}">
+ <httpj:engine port="${testutil.ports.intermediary_transformation.IntermediaryCaching}">
<httpj:tlsServerParameters>
<sec:keyManagers keyPassword="skpass">
<sec:keyStore type="jks" password="sspass" resource="keys/servicestore.jks"/>