cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbernha...@apache.org
Subject [1/3] cxf-fediz git commit: [Fediz-99] Fixing PassiceRequestorEndpoint URL in WS-Federation MetadataDocument
Date Thu, 23 Apr 2015 15:36:21 GMT
Repository: cxf-fediz
Updated Branches:
  refs/heads/master 9995c7b26 -> 6415da23f


[Fediz-99] Fixing PassiceRequestorEndpoint URL in WS-Federation MetadataDocument


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

Branch: refs/heads/master
Commit: 7d7e1c6c4aaa8fcb8c9432e6e8763e3a92cd5f0d
Parents: 4e2b300
Author: Jan Bernhardt <jbernhardt@talend.com>
Authored: Thu Apr 23 17:13:55 2015 +0200
Committer: Jan Bernhardt <jbernhardt@talend.com>
Committed: Thu Apr 23 17:35:59 2015 +0200

----------------------------------------------------------------------
 .../java/org/apache/cxf/fediz/core/metadata/MetadataWriter.java | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/7d7e1c6c/plugins/core/src/main/java/org/apache/cxf/fediz/core/metadata/MetadataWriter.java
----------------------------------------------------------------------
diff --git a/plugins/core/src/main/java/org/apache/cxf/fediz/core/metadata/MetadataWriter.java
b/plugins/core/src/main/java/org/apache/cxf/fediz/core/metadata/MetadataWriter.java
index 1f1d74e..2daaa13 100644
--- a/plugins/core/src/main/java/org/apache/cxf/fediz/core/metadata/MetadataWriter.java
+++ b/plugins/core/src/main/java/org/apache/cxf/fediz/core/metadata/MetadataWriter.java
@@ -220,10 +220,7 @@ public class MetadataWriter {
         writer.writeStartElement("wsa", "EndpointReference", WS_ADDRESSING_NS);
         writer.writeStartElement("wsa", "Address", WS_ADDRESSING_NS);
 
-        Object issuer = protocol.getIssuer();
-        if (issuer instanceof String && !"".equals(issuer)) {
-            writer.writeCharacters((String)issuer);
-        }
+        writer.writeCharacters(serviceURL);
 
         // writer.writeCharacters("http://host:port/url Issuer from config");
         writer.writeEndElement(); // Address


Mime
View raw message