syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject [2/2] syncope git commit: Workaround for WICKET-6588 - take 2
Date Wed, 19 Sep 2018 10:31:34 GMT
Workaround for WICKET-6588 - take 2


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/196d3d20
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/196d3d20
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/196d3d20

Branch: refs/heads/2_1_X
Commit: 196d3d204a6bb8441c325fac463fd3b677f6d0ae
Parents: 4c324a8
Author: Francesco Chicchiriccò <ilgrosso@apache.org>
Authored: Wed Sep 19 12:31:13 2018 +0200
Committer: Francesco Chicchiriccò <ilgrosso@apache.org>
Committed: Wed Sep 19 12:31:24 2018 +0200

----------------------------------------------------------------------
 .../syncope/client/console/topology/TopologyWebSocketBehavior.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/196d3d20/client/console/src/main/java/org/apache/syncope/client/console/topology/TopologyWebSocketBehavior.java
----------------------------------------------------------------------
diff --git a/client/console/src/main/java/org/apache/syncope/client/console/topology/TopologyWebSocketBehavior.java
b/client/console/src/main/java/org/apache/syncope/client/console/topology/TopologyWebSocketBehavior.java
index 7ad0f08..fbfdd19 100644
--- a/client/console/src/main/java/org/apache/syncope/client/console/topology/TopologyWebSocketBehavior.java
+++ b/client/console/src/main/java/org/apache/syncope/client/console/topology/TopologyWebSocketBehavior.java
@@ -88,7 +88,7 @@ public class TopologyWebSocketBehavior extends WebSocketBehavior {
             }
             Cookie jsessionid = cookieUtils.getCookie(jsessionCookieName);
             HttpServletRequest httpServletRequest = (HttpServletRequest) containerRequest;
-            if (jsessionid == null || httpServletRequest.isRequestedSessionIdValid() == false)
{
+            if (jsessionid == null || !httpServletRequest.isRequestedSessionIdValid()) {
                 sessionId = component.getSession().getId();
             }
         }


Mime
View raw message