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:13:18 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/d938eea1
Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/d938eea1
Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/d938eea1

Branch: refs/heads/master
Commit: d938eea1876980d68251f6d07b5ab94f8cdd5121
Parents: 708de3a
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Tue Dec 6 17:34:09 2016 +0000
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Tue Dec 6 17:34:09 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/d938eea1/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