Commit Graph

150 Commits

Author SHA1 Message Date
Jan Bartel d28dffb16e Remove SessionManager; refactor names of session classes; add start modules for new session arch 2016-04-15 11:08:46 +10:00
Joakim Erdfelt 5c896d88ec Fixing javadoc build errors 2016-03-25 11:18:00 -07:00
Jan Bartel bfeae1afa3 Remove periodic iteration over sessions 2016-03-23 16:59:36 +11:00
Jan Bartel add04e8fba Remove necessity for SessionIdManager specializations. 2016-03-17 12:29:42 +11:00
Jan Bartel 6261150167 Add info to IllegalStateException on check for invalid session 2016-03-16 11:45:19 +11:00
Jan Bartel 8a24798fa4 Issue #411 ensure MongoSessionManager saves maxInactiveInterval and expiry correctly
Issue #415 ensure setting > MAX_INT session-timeout is detected
2016-03-11 10:47:34 +11:00
Jan Bartel ead37b1b57 Issue #411 MongoSessionManager does not save maxInactiveInterval and expiry correctly
Issue #415 Setting big session-timeout can overflow MAXINT
2016-03-10 18:52:34 +11:00
Joakim Erdfelt da6be3ed7a Fixing javadoc 2016-03-07 10:24:57 -07:00
Jan Bartel 303aea96a3 Implement uniform expiry testing for all datastores, FileDataStore still todo. 2016-03-05 16:01:18 +01:00
Jan Bartel 3c2f5bbcb6 Implement different intervals for scavenge and idlepassivation checks; update all tests 2016-03-04 18:06:55 +01:00
Jan Bartel ef6d0194b9 Issue #352 Integrate session idling for MongoSessionManager 2016-02-22 15:11:54 +01:00
Jan Bartel 4f9abc279b Changes after merge 2016-02-01 13:59:51 +01:00
Jan Bartel a8c29334ca Merge branch 'master' into session-refactor
Conflicts:
	jetty-nosql/src/main/java/org/eclipse/jetty/nosql/NoSqlSession.java
	jetty-nosql/src/main/java/org/eclipse/jetty/nosql/NoSqlSessionManager.java
	jetty-server/src/main/java/org/eclipse/jetty/server/session/AbstractSession.java
	jetty-server/src/main/java/org/eclipse/jetty/server/session/HashSessionManager.java
	jetty-server/src/main/java/org/eclipse/jetty/server/session/HashedSession.java
	jetty-server/src/main/java/org/eclipse/jetty/server/session/MemSession.java
	jetty-server/src/test/java/org/eclipse/jetty/server/session/FileSessionManagerTest.java
	tests/test-sessions/test-mongodb-sessions/src/test/java/org/eclipse/jetty/nosql/mongodb/StopSessionManagerDeleteSessionTest.java
	tests/test-sessions/test-mongodb-sessions/src/test/java/org/eclipse/jetty/nosql/mongodb/StopSessionManagerPreserveSessionTest.java
2016-02-01 13:59:12 +01:00
Joakim Erdfelt ac24196b0d Happy New Year 2016 2016-01-04 14:34:20 -07:00
Joakim Erdfelt cd39fd84fe Happy New Year 2016 2016-01-04 14:31:22 -07:00
Joakim Erdfelt b5db18378d Happy New Year 2016 2016-01-04 14:21:26 -07:00
Jan Bartel 4ce2104a70 Resolve threading issues for simultaneous session invalidate. 2015-12-18 12:10:50 +11:00
Jan Bartel b1707ef228 Ensure session loading runs in scope of context classloader. 2015-12-11 16:04:39 +11:00
Jan Bartel 31ea1704a1 Make calling passivate/active depend on type of session data store; fix tests 2015-12-11 11:42:29 +11:00
Jan Bartel 9ff55cb301 Merge branch 'master' into session-refactor
Conflicts:
	jetty-infinispan/src/main/java/org/eclipse/jetty/session/infinispan/InfinispanSessionManager.java
	jetty-nosql/src/main/java/org/eclipse/jetty/nosql/NoSqlSessionManager.java
	jetty-nosql/src/main/java/org/eclipse/jetty/nosql/mongodb/MongoSessionIdManager.java
	jetty-nosql/src/main/java/org/eclipse/jetty/nosql/mongodb/MongoSessionManager.java
	jetty-server/src/main/java/org/eclipse/jetty/server/session/JDBCSessionIdManager.java
	jetty-server/src/main/java/org/eclipse/jetty/server/session/JDBCSessionManager.java
	tests/test-sessions/test-jdbc-sessions/src/test/java/org/eclipse/jetty/server/session/JdbcTestServer.java
	tests/test-sessions/test-mongodb-sessions/src/test/java/org/eclipse/jetty/nosql/mongodb/MongoTestServer.java
	tests/test-sessions/test-sessions-common/src/main/java/org/eclipse/jetty/server/session/AbstractInvalidationSessionTest.java
2015-12-03 16:57:51 +11:00
Jan Bartel 82ffc4f355 Made mongo session tests work. 2015-11-27 16:01:54 +11:00
Jan Bartel b249789535 Refactor api to use session id as string, and class for context id; mostly port mongo sessions. 2015-11-20 10:48:50 +11:00
Greg Wilkins ff0d1b4c14 481903 Module Descriptions 2015-11-12 10:48:04 +11:00
Jan Bartel d5649e1d1b 481075 Session statistics are not accurate 2015-11-04 18:15:43 +11:00
Jan Bartel c5489bd7b2 Renaming from temporary session.x package 2015-10-23 14:10:42 +11:00
Jan Bartel 305b7bb776 Hook up scavenging; implement HashSessionManager; add delete unrestorable sessions to session data stores 2015-10-23 11:43:12 +11:00
Jan Bartel c45cd8ce03 Partial refactoring - does not yet compile. 2015-08-27 18:03:44 +10:00
Joakim Erdfelt 7c737a587b Removing [version] sections in modules 2015-06-12 09:14:34 -07:00
Joakim Erdfelt 916efd6aa7 469860 - Add module metadata versioning to support backwards compat
+ Adding [version] section to all existing jetty 9.3 distro modules
+ Updating testcases in jetty-start with new [version] sections too
+ Adding extra testcases for versioned modules
2015-06-10 10:59:18 -07:00
Joakim Erdfelt c25772e147 Fixing javadoc errors preventing release 2015-05-22 16:36:31 -07:00
Jan Bartel f6c1cc46d8 467055 Mongodb session scavenging can result in very slow query 2015-05-15 17:03:38 +10:00
Jan Bartel 8e2011d102 464839 Add limit to MongoSessionIdManager purge queries 2015-05-15 12:17:17 +10:00
Greg Wilkins 054d6b9176 Merge remote-tracking branch 'origin/jetty-9.2.x'
Conflicts:
	jetty-util/src/main/java/org/eclipse/jetty/util/ssl/SslContextFactory.java
2015-05-14 08:55:15 +10:00
Jan Bartel 1b2ee5e576 Comment changes to MongoSessionManager 2015-05-13 08:52:55 +10:00
Simone Bordet 1a2eca098a Fixed XML's <Ref> elements to use refid instead of id. 2015-05-12 08:55:17 +02:00
Simone Bordet eb024f2347 Updated DTD to version 9.3. 2015-05-12 08:54:31 +02:00
Jan Bartel dbf4b2d72d 466669 Add nosql.mod into jetty distro 2015-05-07 16:12:50 +10:00
Joakim Erdfelt f7adc1aa5f 464727 - Update Javadoc for Java 8 DocLint 2015-04-22 18:37:55 -07:00
Greg Wilkins 1cb0449be3 Organised imports 2015-03-26 12:32:15 +11:00
Joakim Erdfelt 6a0668b7a1 Happy New Year 2015 2015-01-07 17:03:30 -07:00
Jan Bartel 56b528145f 455476 - Persist updated session expiry time for MongoSessionManager 2014-12-24 14:05:40 +01:00
Jan Bartel 5e8e0b11f5 455476 MongoSessionManager sessions always expire at create + maxIdle 2014-12-17 17:08:13 +01:00
Jan Bartel f10403b41a 450467 Integer overflow in Session expiry calculation in MongoSessionManager 2014-11-12 16:26:14 +11:00
Jan Bartel e448ea0ab1 444595 nosql/mongodb - Cleanup process/Refreshing does not respect encoding of attribute keys 2014-10-01 16:21:25 +10:00
Jan Bartel 51715dbcdb 443231 java.lang.NullPointerException on scavenge scheduling when session id manager declared before shared scheduler 2014-09-04 11:31:08 +10:00
Jan Bartel a183219ac8 441479 Jetty hangs due to deadlocks in session manager 2014-08-13 13:47:30 +10:00
Greg Wilkins 3a6879d3e8 expanded tabs in indents 2014-07-23 16:49:05 +10:00
Greg Wilkins 55ca09a00e 438190 findbug improvements 2014-07-10 14:41:32 +10:00
Jan Bartel 1b00888739 436345 Refactor AbstractSession to ease customization 2014-06-02 11:48:28 +02:00
Jan Bartel b405ad8c4f 429357 JDBCSessionManager.Session.removeAttribute don't set dirty flag if attribute already removed 2014-03-13 16:21:23 +11:00
Jan Bartel fc7e353394 373952 Ensure MongoSessionManager un/binds session attributes on refresh only if necessary 2014-02-19 14:59:31 +11:00
Joakim Erdfelt a12fd9ea03 Happy New Year - 2014! 2014-01-02 14:50:14 -07:00
Jan Bartel 39d21aee0a 410750 NPE Protection in Mongo save session 2013-12-09 17:16:54 +11:00
Jan Bartel 44416abb1f 422308 Change all session/sessionid managers to use shared Scheduler 2013-11-22 19:22:44 +11:00
Jan Bartel 092c53b335 410750 Mongo clustered sessions persisted across stops 2013-11-21 12:11:24 +11:00
Jesse McConnell ac30f5c9bd update other jetty mods to new format 2013-08-29 16:39:28 -05:00
Jesse McConnell 725e405dac first pass for mod files for distribution 2013-08-22 11:53:58 -05:00
Jesse McConnell 307fdced91 Merge branch 'master' into jetty-9.1 2013-08-20 14:02:45 -05:00
Jesse McConnell 724b96955d Merge branch 'jetty-8' 2013-08-20 13:03:26 -05:00
Jesse McConnell 3d6711b4ab [Bug 413484] setAttribute in nosql session management better handles _dirty status 2013-08-20 13:01:52 -05:00
Greg Wilkins 6941dcb8c8 Merge remote-tracking branch 'origin/master' into jetty-9.1 2013-08-08 12:23:50 +10:00
Greg Wilkins a719418990 413568 Made AJP worker name generic 2013-08-08 12:05:24 +10:00
Greg Wilkins 89acff6bdf Merge remote-tracking branch 'origin/master' into jetty-9.1 2013-08-08 11:06:14 +10:00
Greg Wilkins 95416bce76 413568 Made AJP worker name generic 2013-08-08 10:51:43 +10:00
Greg Wilkins 4e4ffaa54c Merge remote-tracking branch 'origin/master' into servlet-3.1-api
Conflicts:
	jetty-server/src/main/java/org/eclipse/jetty/server/HttpChannelState.java
	jetty-server/src/main/java/org/eclipse/jetty/server/HttpOutput.java
2013-06-17 16:29:39 +10:00
Jan Bartel 2ea7843d86 Merge remote-tracking branch 'origin/jetty-8' 2013-06-17 14:39:17 +10:00
Marko Mihovilic 953ab44909 [Bug 410750] NoSQLSessions: implement session context data persistence across server restarts 2013-06-13 16:45:49 -05:00
Jesse McConnell bd944080fc [Bug 397193] MongoSessionManager refresh updates last access time 2013-06-13 09:54:20 -05:00
Jesse McConnell f9e6cb932c [Bug 410630] MongoSessionManager conflicting session update op 2013-06-12 16:43:14 -05:00
Greg Wilkins 15e0d50b79 Merge remote-tracking branch 'origin/master' into servlet-3.1-api 2013-05-23 09:50:27 +10:00
Jesse McConnell 74a4077dad Add package-info.java files to all jetty packages. 2013-05-21 15:09:49 -05:00
Jan Bartel f544d6e701 405422 Implement servlet3.1 spec sections 4.4.3 and 8.1.4 for new HttpSessionIdListener class 2013-05-03 18:27:51 +10:00
Jesse McConnell b665456293 Merge branch 'jetty-8' 2013-04-23 10:29:32 -05:00
Jesse McConnell c19642baf4 [Bug 404010] fix cast exception in mongodb session manager 2013-04-23 10:28:03 -05: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
Jan Bartel d1dfc56e04 Merge remote-tracking branch 'origin/jetty-8' 2012-10-29 15:07:26 +11:00
Jan Bartel 7c03c793d5 392812 MongoSessionIDManager never purges old sessions 2012-10-29 12:49:38 +11:00
Jan Bartel 16b159fe8d 393015 Mongodb purge not rescheduled 2012-10-29 12:48:01 +11:00
Jan Bartel 3ef7a8b263 393014 Mongodb purgevalid using query for purgeinvalid 2012-10-29 11:29:34 +11:00
Jan Bartel b8d6b4da8b Making session tests work; incorporating renewing session id keeping old object. 2012-10-27 18:44:35 +11:00
Joakim Erdfelt 3d1d76d214 Merge from jetty-8 to jetty-9 (license header standarization) 2012-08-17 13:44:22 -07:00
Jesse McConnell 00ed549898 standardize license header blocks 2012-08-16 19:11:27 -05:00
Jesse McConnell 129fb06f1f migrate jetty-nosql and jetty-monitor to jmx annotations 2012-08-15 14:17:04 -05:00
Jesse McConnell aa941f5711 quick pass through to clean up missing or incorrect license blocks 2012-07-11 12:29:46 -05:00
Jesse McConnell 422b41cfd1 fix a typo from bug 373952 2012-03-19 08:23:54 -05:00
Jesse McConnell ec2ccec766 [Bug 373952] bind called too frequently on refresh 2012-03-16 14:49:17 -05:00
Jesse McConnell af07ce4b6c add debug to mongo session id manager 2012-02-21 08:40:59 -06:00
Jesse McConnell 9ab7452f8f [Bug 371041] valid was not being set to new mongo db sessions, and the call to mongodb api was wrong in isIdInUse 2012-02-09 15:05:51 -06:00
Jesse McConnell 528c246163 [Bug 371040] nosqlsession needs to call correct super contructor for new
sessions
2012-02-09 12:54:46 -06:00
Joakim Erdfelt 29936f4889 Jetty 7 is JDK5+ (downgrading improper compiler setting) 2012-02-03 14:55:33 -07:00
Jesse McConnell b665beeb64 [370377] add classloadingobjectinputstream to mongodb session manager, contribution by david, thanks much 2012-02-02 16:42:10 -06:00
Jesse McConnell 1376a30271 remove strange import the crept in, thanks eclipse. 2012-02-01 14:22:52 -06:00
Jesse McConnell 0bb53d84e4 [Bug 370368] resolve stack overflow in mongo db session manager 2012-02-01 14:10:00 -06:00
Greg Wilkins 2d24eb8240 368191: fixed numerical overflow converting seconds to ms 2012-01-11 12:17:26 +11:00
Jesse McConnell f6c480cef1 [Bug 357672] resolve issue with serializing pojos with mongodb session manager, thanks to john simone for the discovery and fix 2011-09-15 07:54:05 -05:00
Joakim Erdfelt f6d45d5650 293739 - Deprecate static Jetty Log usage in favor of named logs
+ Finished conversion of the rest of jetty 7.x
2011-08-24 13:14:28 -07:00
Jesse McConnell 04557d5d39 [Bug 351516] rejigger the packaging a bit 2011-07-26 15:16:21 -05:00
Jesse McConnell 2ead7a83fe [Bug 351516] support nosql sessions 2011-07-26 15:00:49 -05:00