You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by mg...@apache.org on 2015/01/29 09:10:38 UTC

isis git commit: ISIS-1018 Do not allow http session replacement in Wicket because Shiro knowledge becomes outdated

Repository: isis
Updated Branches:
  refs/heads/master 74fc2e5ce -> 8c13404ec


ISIS-1018 Do not allow http session replacement in Wicket because Shiro knowledge becomes outdated


Project: http://git-wip-us.apache.org/repos/asf/isis/repo
Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/8c13404e
Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/8c13404e
Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/8c13404e

Branch: refs/heads/master
Commit: 8c13404ec166e666ef905c81f32480931e414dbc
Parents: 74fc2e5
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Thu Jan 29 10:10:15 2015 +0200
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Thu Jan 29 10:10:15 2015 +0200

----------------------------------------------------------------------
 .../integration/wicket/AuthenticatedWebSessionForIsis.java    | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/isis/blob/8c13404e/component/viewer/wicket/impl/src/main/java/org/apache/isis/viewer/wicket/viewer/integration/wicket/AuthenticatedWebSessionForIsis.java
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/impl/src/main/java/org/apache/isis/viewer/wicket/viewer/integration/wicket/AuthenticatedWebSessionForIsis.java b/component/viewer/wicket/impl/src/main/java/org/apache/isis/viewer/wicket/viewer/integration/wicket/AuthenticatedWebSessionForIsis.java
index 525b54c..ccff458 100644
--- a/component/viewer/wicket/impl/src/main/java/org/apache/isis/viewer/wicket/viewer/integration/wicket/AuthenticatedWebSessionForIsis.java
+++ b/component/viewer/wicket/impl/src/main/java/org/apache/isis/viewer/wicket/viewer/integration/wicket/AuthenticatedWebSessionForIsis.java
@@ -173,5 +173,10 @@ public class AuthenticatedWebSessionForIsis extends AuthenticatedWebSession impl
             }
         });
     }
-    
+
+    @Override
+    public void replaceSession() {
+        // do nothing here because this will lead to problems with Shiro
+        // see https://issues.apache.org/jira/browse/ISIS-1018
+    }
 }