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/3c4652b0 Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/3c4652b0 Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/3c4652b0 Branch: refs/heads/master Commit: 3c4652b09d793d7b9e839fd604992b566633bc1c Parents: c369c07 Author: cschmuell...@talend.com <cschmuell...@talend.com> Authored: Mon Aug 17 15:07:03 2015 +0200 Committer: Colm O hEigeartaigh <cohei...@apache.org> Committed: Mon Aug 17 16:45:39 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/3c4652b0/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 ce88185..c7a28de 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); }