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/02/24 14:33:27 UTC
cxf-fediz git commit: Also send the home realm to the remote IdP
Repository: cxf-fediz
Updated Branches:
refs/heads/master 09a6fc053 -> 541d6297d
Also send the home realm to the remote IdP
Project: http://git-wip-us.apache.org/repos/asf/cxf-fediz/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf-fediz/commit/541d6297
Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/541d6297
Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/541d6297
Branch: refs/heads/master
Commit: 541d6297d41a9996ddfc02a37b2ba14f7ea311a5
Parents: 09a6fc0
Author: Colm O hEigeartaigh <co...@apache.org>
Authored: Wed Feb 24 13:33:09 2016 +0000
Committer: Colm O hEigeartaigh <co...@apache.org>
Committed: Wed Feb 24 13:33:09 2016 +0000
----------------------------------------------------------------------
.../service/idp/protocols/TrustedIdpWSFedProtocolHandler.java | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/541d6297/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/protocols/TrustedIdpWSFedProtocolHandler.java
----------------------------------------------------------------------
diff --git a/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/protocols/TrustedIdpWSFedProtocolHandler.java b/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/protocols/TrustedIdpWSFedProtocolHandler.java
index c694b9d..4ac9605 100644
--- a/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/protocols/TrustedIdpWSFedProtocolHandler.java
+++ b/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/protocols/TrustedIdpWSFedProtocolHandler.java
@@ -95,6 +95,8 @@ public class TrustedIdpWSFedProtocolHandler implements TrustedIdpProtocolHandler
sb.append(URLEncoder.encode(idp.getRealm(), "UTF-8"));
sb.append("&").append(FederationConstants.PARAM_REPLY).append('=');
sb.append(URLEncoder.encode(idp.getIdpUrl().toString(), "UTF-8"));
+ sb.append("&").append(FederationConstants.PARAM_HOME_REALM).append('=');
+ sb.append(trustedIdp.getRealm());
String wfresh = context.getFlowScope().getString(FederationConstants.PARAM_FRESHNESS);
if (wfresh != null) {