cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject [1/2] cxf-fediz git commit: Use the configured realm for the Metadata EntityId instead of the URL
Date Mon, 25 Jan 2016 17:02:27 GMT
Repository: cxf-fediz
Updated Branches:
  refs/heads/master 77ae60143 -> 71faae7c6


Use the configured realm for the Metadata EntityId instead of the URL


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

Branch: refs/heads/master
Commit: 71faae7c6c58fcc2820e7789d7278e196e108303
Parents: 6d8baf8
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Mon Jan 25 12:05:19 2016 +0000
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Mon Jan 25 16:30:53 2016 +0000

----------------------------------------------------------------------
 .../cxf/fediz/service/idp/metadata/ServiceMetadataWriter.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/71faae7c/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/metadata/ServiceMetadataWriter.java
----------------------------------------------------------------------
diff --git a/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/metadata/ServiceMetadataWriter.java
b/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/metadata/ServiceMetadataWriter.java
index 4b138e8..5eb794c 100644
--- a/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/metadata/ServiceMetadataWriter.java
+++ b/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/metadata/ServiceMetadataWriter.java
@@ -64,7 +64,7 @@ public class ServiceMetadataWriter {
             writer.writeAttribute("ID", referenceID);
             
             String serviceURL = config.getIdpUrl().toString();
-            writer.writeAttribute("entityID", serviceURL);
+            writer.writeAttribute("entityID", config.getRealm());
             
             writer.writeNamespace("md", SAML2_METADATA_NS);
             writer.writeNamespace("fed", WS_FEDERATION_NS);


Mime
View raw message