cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject [2/2] cxf-fediz git commit: removed redirect. redirect was wrong.
Date Mon, 17 Aug 2015 15:46:23 GMT
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: cschmuelling@talend.com <cschmuelling@talend.com>
Authored: Mon Aug 17 15:07:03 2015 +0200
Committer: Colm O hEigeartaigh <coheigea@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);
                 }
 


Mime
View raw message