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: 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: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);
                 }
 

Reply via email to