Repository: cxf-fediz Updated Branches: refs/heads/1.2.x-fixes a45b3f994 -> 68b626610
FEDIZ-159 - Updating property Project: http://git-wip-us.apache.org/repos/asf/cxf-fediz/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf-fediz/commit/68b62661 Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/68b62661 Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/68b62661 Branch: refs/heads/1.2.x-fixes Commit: 68b626610492f2ba24bbec2c3dda717c90834dc6 Parents: a45b3f9 Author: Colm O hEigeartaigh <[email protected]> Authored: Mon Mar 14 16:24:17 2016 +0000 Committer: Colm O hEigeartaigh <[email protected]> Committed: Mon Mar 14 16:24:43 2016 +0000 ---------------------------------------------------------------------- .../service/idp/protocols/TrustedIdpWSFedProtocolHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/68b62661/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 34d5be6..b479dbf 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 @@ -66,7 +66,7 @@ public class TrustedIdpWSFedProtocolHandler extends AbstractTrustedIdpProtocolHa /** * Whether to add the home realm parameter to the URL for redirection or not. The default is "true". */ - public static final String ENABLE_HOME_REALM = "enable.home.realm"; + public static final String HOME_REALM_PROPAGATION = "home.realm.propagation"; public static final String PROTOCOL = "http://docs.oasis-open.org/wsfed/federation/200706"; @@ -90,7 +90,7 @@ public class TrustedIdpWSFedProtocolHandler extends AbstractTrustedIdpProtocolHa sb.append("&").append(FederationConstants.PARAM_REPLY).append('='); sb.append(URLEncoder.encode(idp.getIdpUrl().toString(), "UTF-8")); - if (isBooleanPropertyConfigured(trustedIdp, ENABLE_HOME_REALM, true)) { + if (isBooleanPropertyConfigured(trustedIdp, HOME_REALM_PROPAGATION, true)) { sb.append("&").append(FederationConstants.PARAM_HOME_REALM).append('='); sb.append(trustedIdp.getRealm()); }
