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 2016/01/25 18:03:21 UTC
[2/2] cxf-fediz git commit: Use the configured realm for the Metadata
EntityId instead of the URL
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/5f208683
Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/5f208683
Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/5f208683
Branch: refs/heads/1.2.x-fixes
Commit: 5f208683cfcbbc5fc778859bb846f60a295b16e6
Parents: e18f3ae
Author: Colm O hEigeartaigh <co...@apache.org>
Authored: Mon Jan 25 12:05:19 2016 +0000
Committer: Colm O hEigeartaigh <co...@apache.org>
Committed: Mon Jan 25 17:03:14 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/5f208683/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);