From commits-return-37914-apmail-cxf-commits-archive=cxf.apache.org@cxf.apache.org Mon Aug 17 15:48:13 2015 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 13B2C18FF1 for ; Mon, 17 Aug 2015 15:48:13 +0000 (UTC) Received: (qmail 36590 invoked by uid 500); 17 Aug 2015 15:47:14 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 36403 invoked by uid 500); 17 Aug 2015 15:47:14 -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 36387 invoked by uid 99); 17 Aug 2015 15:47:14 -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; Mon, 17 Aug 2015 15:47:14 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 3BA59E0260; Mon, 17 Aug 2015 15:47:14 +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: Mon, 17 Aug 2015 15:47:15 -0000 Message-Id: <71310c341f5d4adeb7562a18b361ac16@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [2/2] cxf-fediz git commit: removed redirect. redirect was wrong. removed redirect. redirect was wrong. Project: http://git-wip-us.apache.org/repos/asf/cxf-fediz/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf-fediz/commit/42f597df Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/42f597df Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/42f597df Branch: refs/heads/1.2.x-fixes Commit: 42f597df37509481d12639b668816813a91d22c9 Parents: b5af2a7 Author: cschmuelling@talend.com Authored: Mon Aug 17 15:07:03 2015 +0200 Committer: Colm O hEigeartaigh Committed: Mon Aug 17 16:46:37 2015 +0100 ---------------------------------------------------------------------- .../org/apache/cxf/fediz/was/tai/FedizInterceptor.java | 13 ------------- 1 file changed, 13 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/42f597df/plugins/websphere/src/main/java/org/apache/cxf/fediz/was/tai/FedizInterceptor.java ---------------------------------------------------------------------- diff --git a/plugins/websphere/src/main/java/org/apache/cxf/fediz/was/tai/FedizInterceptor.java b/plugins/websphere/src/main/java/org/apache/cxf/fediz/was/tai/FedizInterceptor.java index e63b3f8..8e585c0 100644 --- a/plugins/websphere/src/main/java/org/apache/cxf/fediz/was/tai/FedizInterceptor.java +++ b/plugins/websphere/src/main/java/org/apache/cxf/fediz/was/tai/FedizInterceptor.java @@ -321,19 +321,6 @@ public class FedizInterceptor implements TrustAssociationInterceptor { } catch (ServletException e) { LOG.error("Could not logout users"); } - FedizContext fedCtx = getFederationContext(request); - String logoutRedirectUrl = fedCtx.getLogoutRedirectTo(); - String contextPath = request.getContextPath(); - try { - if (logoutRedirectUrl != null && logoutRedirectUrl.length() > 0) { - response.sendRedirect(contextPath + logoutRedirectUrl); - } else { - response.sendRedirect(contextPath); - } - } catch (IOException e) { - LOG.error("Could not redirect to logout page"); - } - return super.signoutCleanup(request, response); }