Repository: cxf-fediz Updated Branches: refs/heads/1.2.x-fixes 4ffc8451c -> be9f7d8ee
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/be9f7d8e Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/be9f7d8e Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/be9f7d8e Branch: refs/heads/1.2.x-fixes Commit: be9f7d8ee7396600e49e73d31b218ae4fb62535e Parents: 4ffc845 Author: Colm O hEigeartaigh <[email protected]> Authored: Wed Feb 24 13:33:09 2016 +0000 Committer: Colm O hEigeartaigh <[email protected]> Committed: Wed Feb 24 13:33:39 2016 +0000 ---------------------------------------------------------------------- .../service/idp/protocols/TrustedIdpWSFedProtocolHandler.java | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/be9f7d8e/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 0572921..c0889ee 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 @@ -93,6 +93,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) {
