Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A50C91863C for ; Wed, 24 Feb 2016 13:33:43 +0000 (UTC) Received: (qmail 34594 invoked by uid 500); 24 Feb 2016 13:33:43 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 34532 invoked by uid 500); 24 Feb 2016 13:33:43 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 34523 invoked by uid 99); 24 Feb 2016 13:33:43 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Feb 2016 13:33:43 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 5C806E8EA3; Wed, 24 Feb 2016 13:33:43 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: coheigea@apache.org To: commits@cxf.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: cxf-fediz git commit: Also send the home realm to the remote IdP Date: Wed, 24 Feb 2016 13:33:43 +0000 (UTC) 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 Authored: Wed Feb 24 13:33:09 2016 +0000 Committer: Colm O hEigeartaigh 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) {