ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject ignite git commit: IGNITE-2344 WebSessionFilter doesn't support session ID renewal
Date Mon, 25 Jul 2016 07:55:10 GMT
Repository: ignite
Updated Branches:
  refs/heads/master df1490e18 -> 58d054443


IGNITE-2344 WebSessionFilter doesn't support session ID renewal


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/58d05444
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/58d05444
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/58d05444

Branch: refs/heads/master
Commit: 58d054443d48f2ef48e935bd4e5ce24b5bb352ed
Parents: df1490e
Author: samaitra <saikat.maitra@gmail.com>
Authored: Mon Jul 25 10:54:35 2016 +0300
Committer: Anton Vinogradov <av@apache.org>
Committed: Mon Jul 25 10:54:35 2016 +0300

----------------------------------------------------------------------
 .../ignite/internal/websession/WebSessionSelfTest.java       | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/58d05444/modules/web/src/test/java/org/apache/ignite/internal/websession/WebSessionSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/web/src/test/java/org/apache/ignite/internal/websession/WebSessionSelfTest.java
b/modules/web/src/test/java/org/apache/ignite/internal/websession/WebSessionSelfTest.java
index 0ab1130..1a8c328 100644
--- a/modules/web/src/test/java/org/apache/ignite/internal/websession/WebSessionSelfTest.java
+++ b/modules/web/src/test/java/org/apache/ignite/internal/websession/WebSessionSelfTest.java
@@ -854,7 +854,7 @@ public class WebSessionSelfTest extends GridCommonAbstractTest {
         HashLoginService hashLoginService = new HashLoginService();
         hashLoginService.setName("Test Realm");
         createRealm();
-        hashLoginService.setConfig("realm.properties");
+        hashLoginService.setConfig("/tmp/realm.properties");
         ctx.getSecurityHandler().setLoginService(hashLoginService);
 
         srv.setHandler(ctx);
@@ -884,14 +884,14 @@ public class WebSessionSelfTest extends GridCommonAbstractTest {
     private void stopServerWithLoginService(@Nullable Server srv) throws Exception{
         if (srv != null){
             srv.stop();
-            File realmFile = new File("realm.properties");
+            File realmFile = new File("/tmp/realm.properties");
             realmFile.delete();
         }
     }
 
     /** Creates a realm file to store test user credentials */
     private void createRealm() throws Exception{
-        File realmFile = new File("realm.properties");
+        File realmFile = new File("/tmp/realm.properties");
         FileWriter fileWriter = new FileWriter(realmFile);
         fileWriter.append("admin:admin");
         fileWriter.flush();
@@ -1128,7 +1128,7 @@ public class WebSessionSelfTest extends GridCommonAbstractTest {
                 try {
                     req.login("admin", "admin");
                 } catch (Exception e) {
-                    X.printerrln("Login failed.");
+                    X.printerrln("Login failed due to exception.", e);
                 }
 
                 HttpSession session = req.getSession();


Mime
View raw message