cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject cxf-fediz git commit: FEDIZ-159 - Updating property
Date Mon, 14 Mar 2016 16:24:27 GMT
Repository: cxf-fediz
Updated Branches:
  refs/heads/master 601548914 -> 7ace71a96


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/7ace71a9
Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/7ace71a9
Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/7ace71a9

Branch: refs/heads/master
Commit: 7ace71a96463b3cd9e60f6d6b330d2993672523e
Parents: 6015489
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Mon Mar 14 16:24:17 2016 +0000
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Mon Mar 14 16:24:17 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/7ace71a9/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 cf75cab..c823e32 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
@@ -63,7 +63,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";
 
@@ -87,7 +87,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());
             }


Mime
View raw message