Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E784F200BD4 for ; Thu, 1 Dec 2016 18:00:36 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E6821160B25; Thu, 1 Dec 2016 17:00:36 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EAE03160B05 for ; Thu, 1 Dec 2016 18:00:35 +0100 (CET) Received: (qmail 42589 invoked by uid 500); 1 Dec 2016 17:00:35 -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 42579 invoked by uid 99); 1 Dec 2016 17:00:35 -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; Thu, 01 Dec 2016 17:00:35 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 0748EE0A77; Thu, 1 Dec 2016 17:00:35 +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 Date: Thu, 01 Dec 2016 17:00:34 -0000 Message-Id: <8ef8400e279543c1878b843ba9be1fd1@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/3] cxf-fediz git commit: Change whr to home_realm archived-at: Thu, 01 Dec 2016 17:00:37 -0000 Repository: cxf-fediz Updated Branches: refs/heads/master 21fd134c4 -> 18ea6f481 Change whr to home_realm Project: http://git-wip-us.apache.org/repos/asf/cxf-fediz/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf-fediz/commit/5a0c0b7b Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/5a0c0b7b Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/5a0c0b7b Branch: refs/heads/master Commit: 5a0c0b7b47eef202ab2b15bd8a089d37d050ee80 Parents: 21fd134 Author: Colm O hEigeartaigh Authored: Thu Dec 1 15:27:18 2016 +0000 Committer: Colm O hEigeartaigh Committed: Thu Dec 1 15:27:18 2016 +0000 ---------------------------------------------------------------------- .../idp/beans/SigninParametersCacheAction.java | 10 ----- .../WEB-INF/flows/federation-signin-request.xml | 42 ++++++++++---------- .../flows/federation-validate-request.xml | 8 ++-- 3 files changed, 25 insertions(+), 35 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/5a0c0b7b/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/beans/SigninParametersCacheAction.java ---------------------------------------------------------------------- diff --git a/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/beans/SigninParametersCacheAction.java b/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/beans/SigninParametersCacheAction.java index f719860..e3e055e 100644 --- a/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/beans/SigninParametersCacheAction.java +++ b/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/beans/SigninParametersCacheAction.java @@ -56,10 +56,6 @@ public class SigninParametersCacheAction { if (value != null) { signinParams.put(FederationConstants.PARAM_TREALM, value); } - value = WebUtils.getAttributeFromFlowScope(context, FederationConstants.PARAM_HOME_REALM); - if (value != null) { - signinParams.put(FederationConstants.PARAM_HOME_REALM, value); - } value = WebUtils.getAttributeFromFlowScope(context, IdpConstants.HOME_REALM); if (value != null) { signinParams.put(IdpConstants.HOME_REALM, value); @@ -100,12 +96,6 @@ public class SigninParametersCacheAction { if (value != null) { WebUtils.putAttributeInFlowScope(context, FederationConstants.PARAM_TREALM, value); } - // TODO - Remove - value = (String)signinParams.get(FederationConstants.PARAM_HOME_REALM); - if (value != null) { - WebUtils.putAttributeInFlowScope(context, FederationConstants.PARAM_HOME_REALM, value); - WebUtils.putAttributeInFlowScope(context, IdpConstants.HOME_REALM, value); - } value = (String)signinParams.get(IdpConstants.HOME_REALM); if (value != null) { WebUtils.putAttributeInFlowScope(context, IdpConstants.HOME_REALM, value); http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/5a0c0b7b/services/idp/src/main/webapp/WEB-INF/flows/federation-signin-request.xml ---------------------------------------------------------------------- diff --git a/services/idp/src/main/webapp/WEB-INF/flows/federation-signin-request.xml b/services/idp/src/main/webapp/WEB-INF/flows/federation-signin-request.xml index 194404b..59c2a67 100644 --- a/services/idp/src/main/webapp/WEB-INF/flows/federation-signin-request.xml +++ b/services/idp/src/main/webapp/WEB-INF/flows/federation-signin-request.xml @@ -29,14 +29,14 @@ - + - + - @@ -56,16 +56,16 @@ - + - + + expression="homeRealmReminder.addCookie(flowRequestContext, flowScope.home_realm)" /> @@ -73,7 +73,7 @@ - @@ -82,17 +82,17 @@ - + expression="idpTokenExpiredAction.isTokenExpired(flowScope.home_realm, flowRequestContext) or + wfreshParser.authenticationRequired(flowScope.wfresh, flowScope.home_realm, flowRequestContext)" /> - + @@ -107,7 +107,7 @@ - + @@ -118,7 +118,7 @@ - @@ -126,11 +126,11 @@ from 'IDP_TOKEN' --> + expression="idpTokenExpiredAction.isTokenExpired(flowScope.home_realm, flowRequestContext) or + wfreshParser.authenticationRequired(flowScope.wfresh, flowScope.home_realm, flowRequestContext)" /> - + @@ -140,14 +140,14 @@ - + - + @@ -155,7 +155,7 @@ - + @@ -168,7 +168,7 @@ - + http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/5a0c0b7b/services/idp/src/main/webapp/WEB-INF/flows/federation-validate-request.xml ---------------------------------------------------------------------- diff --git a/services/idp/src/main/webapp/WEB-INF/flows/federation-validate-request.xml b/services/idp/src/main/webapp/WEB-INF/flows/federation-validate-request.xml index 446a65c..e0d86aa 100644 --- a/services/idp/src/main/webapp/WEB-INF/flows/federation-validate-request.xml +++ b/services/idp/src/main/webapp/WEB-INF/flows/federation-validate-request.xml @@ -98,22 +98,22 @@ - + - + - + - +