Commit Graph

40 Commits

Author SHA1 Message Date
Jan Bartel af5f8aac33 403122 Session replication fails with ClassNotFoundException when session attribute is Java dynamic proxy 2013-03-28 15:02:33 +11:00
Jan Bartel 9194fe1b7b 399566 Running org.eclipse.jetty.server.session.MaxInactiveMigrationTest produces stack trace 2013-01-31 15:42:27 +11:00
Jesse McConnell e1c516c7d1 merge from jetty-8 and update license blocks. 2013-01-11 17:04:53 -06:00
Jesse McConnell a4dbb5823c update license blocks for 2013 2013-01-11 14:57:51 -06:00
Greg Wilkins 27c31fb403 jetty-9 organised imports. Cleaned up some TODOs 2013-01-11 16:37:32 +11:00
Simone Bordet c9f4513a89 Reworked HTTP client API, removing usage of Future. 2012-12-19 16:27:20 +01:00
Jan Bartel 8b90057b68 371170 MongoSessionManager LastAccessTimeTest fails 2012-10-29 16:05:46 +11:00
Jan Bartel b8d6b4da8b Making session tests work; incorporating renewing session id keeping old object. 2012-10-27 18:44:35 +11:00
Jan Bartel 0efdc471db Add space to license for license-checker recognition 2012-10-27 18:31:34 +11:00
Greg Wilkins 4913c1eb9b jetty-9 spaces appear to help with header detection 2012-10-26 14:35:53 +11:00
Jan Bartel 8a9d25a48b 392641 JDBC Sessions not scavenged if expired during downtime 2012-10-26 09:26:40 +11:00
Jesse McConnell 7af3d5c047 remove logging statement 2012-08-27 12:24:47 -05:00
Jesse McConnell 94c2dec2e2 add some session tests to the hash session manager, and a new one focusing on session cookie processing 2012-08-27 11:31:34 -05:00
Jesse McConnell 00ed549898 standardize license header blocks 2012-08-16 19:11:27 -05:00
Jesse McConnell aa941f5711 quick pass through to clean up missing or incorrect license blocks 2012-07-11 12:29:46 -05:00
Jan Bartel 97fffb4e6a 380866 maxIdleTime set to 0 after session migration 2012-05-29 18:06:22 +02:00
Jan Bartel 1ca8eb030d 377610 New session not timed out if an old session is invalidated in scope of same request 2012-05-02 16:41:32 +02:00
Jan Bartel 5c0c8c7e73 371168 Update ClientCrossContextSessionTest 2012-03-01 17:43:38 +11:00
Jan Bartel 629c6c470a Ensure construction of fresh MongoSessionIdManager 2012-02-10 16:01:17 +11:00
Jan Bartel 7aff671bae Tidy up session tests, add more comments. 2012-02-10 12:28:44 +11:00
Jesse McConnell d13599a1d1 add assertion that a new session is in fact new 2012-02-09 12:42:18 -06:00
Jan Bartel 44204a2e5b 356726 Instead of the sessionDestroyed called sessionCreated after invalidate session 2011-09-06 09:15:26 +10:00
Jan Bartel e8f37070a6 356190 - Problem selecting expired sessions java.sql.SQLException: Database 'sessions' not found 2011-09-05 13:48:33 +10:00
Jesse McConnell fde7831a81 [Bug 352133] resolve java 1.5isms with sessions, fix misspelling in
mbean and add access to underlying server in session test server
2011-07-19 11:22:32 -05:00
Jesse McConnell 7eec3b65e6 remove some logging 2011-07-15 15:06:42 -05:00
Jesse McConnell 264b22498e Add in a bit more to this test so it checks that actual values make it
across the server boundry
2011-07-15 14:57:38 -05:00
Jesse McConnell 753b0e39c5 New test for session values 2011-07-11 15:44:42 -05:00
Greg Wilkins 17ce8ec161 cleaned up sessionIdManager setters 2011-07-07 12:56:37 +10:00
Greg Wilkins fc5e92c43f Simplified session management 2011-07-07 12:35:53 +10:00
Greg Wilkins 65aa81c018 use port 0 instead of random port
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3011 7e9141cc-0065-0410-87d8-b60c137991c4
2011-04-13 01:29:18 +00:00
Simone Bordet c7cd3c3233 Made the test pass under Windows.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2954 7e9141cc-0065-0410-87d8-b60c137991c4
2011-04-01 15:26:21 +00:00
Jan Bartel 804f8eef3e Add extra test for removing a http session and verifying it is gone
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2926 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-29 23:59:06 +00:00
Joakim Erdfelt acc4f230fc Merging back /branches/jetty-bug-296978 revs 2674:HEAD
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2709 7e9141cc-0065-0410-87d8-b60c137991c4
2011-01-28 18:58:47 +00:00
Greg Wilkins b06edcd858 328988 added session idle save and reduced synchronization
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2466 7e9141cc-0065-0410-87d8-b60c137991c4
2010-11-03 02:47:05 +00:00
Greg Wilkins 3c4a816760 324601 replace asserts with junit asserts
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2259 7e9141cc-0065-0410-87d8-b60c137991c4
2010-09-08 06:09:21 +00:00
Greg Wilkins fa9a3fab2c 324601 Check session expiry on access
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2256 7e9141cc-0065-0410-87d8-b60c137991c4
2010-09-08 01:36:05 +00:00
Greg Wilkins 71f4d444a5 324601 Check session expiry on access
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2254 7e9141cc-0065-0410-87d8-b60c137991c4
2010-09-07 23:12:21 +00:00
Joakim Erdfelt 15c5e54628 313205 - Unable to run tests on /test/test-sessions/test-jdbc-sessions
* Removed testng in favor of junit 4.x (so that MavenTestingUtils
  utility class could be used)
* Made derby in test-jdbc-sessions use test specific maven target
  directory location as derby.system.home to eliminate /tmp/sessions
  bogus locked and read-only errors.

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1856 7e9141cc-0065-0410-87d8-b60c137991c4
2010-05-24 21:40:31 +00:00
Greg Wilkins f5559e3f3a 313196 randomly allocate ports for session test.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1815 7e9141cc-0065-0410-87d8-b60c137991c4
2010-05-17 20:02:09 +00:00
Jan Bartel 28453e9c24 Add new test-sessions module to do testing of various session implementations. The test-session-common module was created based on the terracotta session test suite checked into jetty-codehaus. I've genericized these tests so that they may be applied to the various session clustering solutions.
Changes to JDBCSessionIdManager with this checkin were to increase the length of the varchar storing the session id from 60 to 120 char, and also to reduce the amount of time we held a lock over the session id map.

Changes to the JDBCSessionManager with this checkin were to decrease the amount of time we held locks, and when retrieving a session from the database, checking if the session had expired before loading it.

Changes to the AbstractSessionManager with this checkin were to ensure that the SessionListeners were only called if the session was removed (we were calling them anyway).


git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1213 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-26 01:37:03 +00:00