cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cschnei...@apache.org
Subject git commit: CXF-4965 Support overriding STS Service address
Date Tue, 15 Apr 2014 10:49:58 GMT
Repository: cxf
Updated Branches:
  refs/heads/master e82847091 -> 210d24b39


CXF-4965 Support overriding STS Service address


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/210d24b3
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/210d24b3
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/210d24b3

Branch: refs/heads/master
Commit: 210d24b399a6bc127748e87d8c5b39f168c5cbc3
Parents: e828470
Author: Christian Schneider <chris@die-schneider.net>
Authored: Tue Apr 15 12:49:13 2014 +0200
Committer: Christian Schneider <chris@die-schneider.net>
Committed: Tue Apr 15 12:49:34 2014 +0200

----------------------------------------------------------------------
 .../java/org/apache/cxf/ws/security/trust/AbstractSTSClient.java  | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/210d24b3/rt/ws/security/src/main/java/org/apache/cxf/ws/security/trust/AbstractSTSClient.java
----------------------------------------------------------------------
diff --git a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/trust/AbstractSTSClient.java
b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/trust/AbstractSTSClient.java
index a0b82d2..d78c496 100644
--- a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/trust/AbstractSTSClient.java
+++ b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/trust/AbstractSTSClient.java
@@ -529,6 +529,9 @@ public abstract class AbstractSTSClient implements Configurable, InterceptorProv
                             }
                         }
                         EndpointInfo ei = service.getEndpointInfo(endpointName);
+                        if (location != null) {
+                            ei.setAddress(location);
+                        }
                         Endpoint endpoint = new EndpointImpl(bus, service, ei);
                         client = new ClientImpl(bus, endpoint);
                     }


Mime
View raw message