cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject [2/6] cxf-fediz git commit: Fixing Logout bug
Date Wed, 07 Dec 2016 12:38:35 GMT
Fixing Logout bug


Project: http://git-wip-us.apache.org/repos/asf/cxf-fediz/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf-fediz/commit/20b97178
Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/20b97178
Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/20b97178

Branch: refs/heads/1.3.x-fixes
Commit: 20b97178399ca1d2f0db2721096ec3cc365e2b89
Parents: d1bf3fe
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Tue Dec 6 17:34:09 2016 +0000
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Wed Dec 7 12:13:50 2016 +0000

----------------------------------------------------------------------
 .../apache/cxf/fediz/core/processor/FederationProcessorImpl.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/20b97178/plugins/core/src/main/java/org/apache/cxf/fediz/core/processor/FederationProcessorImpl.java
----------------------------------------------------------------------
diff --git a/plugins/core/src/main/java/org/apache/cxf/fediz/core/processor/FederationProcessorImpl.java
b/plugins/core/src/main/java/org/apache/cxf/fediz/core/processor/FederationProcessorImpl.java
index f874044..b82777b 100644
--- a/plugins/core/src/main/java/org/apache/cxf/fediz/core/processor/FederationProcessorImpl.java
+++ b/plugins/core/src/main/java/org/apache/cxf/fediz/core/processor/FederationProcessorImpl.java
@@ -500,7 +500,7 @@ public class FederationProcessorImpl extends AbstractFedizProcessor {
             sb.append(FederationConstants.PARAM_ACTION).append('=').append(FederationConstants.ACTION_SIGNOUT);
 
             String logoutRedirectTo = request.getParameter(FederationConstants.PARAM_REPLY);
-            if (logoutRedirectTo != null && !logoutRedirectTo.isEmpty()) {
+            if (logoutRedirectTo == null || logoutRedirectTo.isEmpty()) {
                 logoutRedirectTo = config.getLogoutRedirectTo();
             }
             if (logoutRedirectTo != null && !logoutRedirectTo.isEmpty()) {


Mime
View raw message