145 Commits

Author SHA1 Message Date
Greg Wilkins
9706d70484
Jetty 9.4.x reformat (#3811)
* Removing Legacy Method Separators
* Restyling branch `jetty-9.4.x`
* Applying changes highlighted by checkstyle
* Applying XML restyling
* Fixing XML codestyle for IntelliJ
* Fixing XML style mistakes
* Revert "Applying XML restyling"
* Updating checkstyle for XML codestyle
* Reformatting pom.xml files
* Fixed empty string from line wraps
* Update intellij style to not do expression relative formatting. Reformatted code based on that.
* Increasing line split on Eclipse IDE Formatter to 512
* Restoring setting on internal default value.
+ IntelliJ will not export settings on things that set to their
  internal default values.
  We want to keep those values as a hedge against future default
  value changes in future releases of IntelliJ.
* Fixing intellij codestyle
* do not allow single line simple methods
* misc checkstyle fixes
* re-exported with correct name and all values

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2019-06-24 17:40:30 +02:00
Joakim Erdfelt
877815e195 Issue #3708 - Adding new methods and converting codebase to use them
+ StringUtil.replace(String, char, char)
+ StringUtil.strip(String, String)
+ URIUtil.encodeSpecific(String, String)
+ URIUtil.decodeSpecific(String, String)
+ TypeUtil.toClassReference(Class)
+ TypeUtil.toClassReference(String)

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2019-06-12 09:56:41 -05:00
Joakim Erdfelt
33fe55c339 Issue #3708 - use StringUtil alternatives for known slow JVM impls.
+ StringUtil.replace()
+ StringUtil.replaceFirst()
+ StringUtil.sanitizeFileSystemPath()

Change existing usages of String.replace() to either
use new StringUtil.replace() or other methods elsewhere
that better suit that specific need.

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2019-06-11 11:25:50 -05:00
Olivier Lamy
9b7afd8a03
Happy new year!! (#3232)
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2019-01-01 11:52:16 +10:00
Jan Bartel
871f73cdf6
Jetty 9.4.x 2932 switchable classloader for session attribute values (#2964) 2018-11-06 10:03:48 +01:00
Jan Bartel
b4e400f236 Jetty 9.4.x 2231 refactor session tests (#2382)
* Issue #2231 WIP

* Issue #2231 Add tests for FileSessionDataStore and MongoSessionDataStore.

* Issue #2231 create unit tests for every SessionDataStore

Signed-off-by: Jan Bartel <janb@webtide.com>

* Issue #2231 Refactor session tests

Signed-off-by: Jan Bartel <janb@webtide.com>

* Issue #2231 Refactor and cleanup session tests.

Signed-off-by: Jan Bartel <janb@webtide.com>

* hazelcast tests faster

Signed-off-by: olivier lamy <olamy@webtide.com>

* make hazelcasts tests even faster

Signed-off-by: olivier lamy <olamy@webtide.com>

* cleanup comments

Signed-off-by: olivier lamy <olamy@webtide.com>

* run mongodb test in embdedded mode

Signed-off-by: olivier lamy <olamy@webtide.com>

* mongodb embedded test enabled per default

Signed-off-by: olivier lamy <olamy@webtide.com>

* Issue #2231 more session tests

Signed-off-by: Jan Bartel <janb@webtide.com>

* fix mongodb embedded tests

Signed-off-by: olivier lamy <olamy@webtide.com>

* cleanup code

Signed-off-by: olivier lamy <olamy@webtide.com>

* use Logger rather than System.err.println

Signed-off-by: olivier lamy <olamy@webtide.com>

* Issue #2231 Add test for DefaultSessionCache

Signed-off-by: Jan Bartel <janb@webtide.com>

* Issue #2231 Redisable mongo tests by default.

Signed-off-by: Jan Bartel <janb@webtide.com>

* fix issue with empty local repo build

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* jenkins should run mongodb tests

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* build this plugin last so we should not hit the maven invoker plugin

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* build test first for this one

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* use invoker plugin 3.0.2-SNAPSHOT as there is a fix for https://issues.apache.org/jira/browse/MINVOKER-191

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* temporary use of apache snapshots repository because of maven-invoker-plugin 3.0.2-SNAPSHOT

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-03-28 20:14:15 +10:00
WalkerWatch
534b8ea38b Add edit warning for .mod files. Resolves #173 2018-03-15 13:23:42 -04:00
Lachlan Roberts
a639ee9275 Resolved errorprone MissingOverride warnings #2206
`@Override` was added to methods which were missing the annotation #2206

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-03-01 13:59:25 +11:00
Joakim Erdfelt
21365234f8 Issue #2108 - Updating license headers for year 2018 2018-01-09 09:44:41 -06:00
Joakim Erdfelt
41ed9f29f4 Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2018-01-09 09:37:25 -06:00
Joakim Erdfelt
fa4c7b0ca9 Issue #2108 - Updating license headers for year 2018 2018-01-09 08:39:37 -06:00
Joakim Erdfelt
067fc5d2d8 Issue #2108 - Upgrade licenses for 2018 2018-01-09 07:42:06 -06:00
olivier lamy
5a323a01dd more javadoc fixes #2056
Signed-off-by: olivier lamy <olamy@webtide.com>
2018-01-09 13:35:58 +11:00
Jan Bartel
e6857a6f46 Issue #1526 2017-05-03 14:40:40 +02:00
Jan Bartel
7e2f08a7ad Issue #1450 2017-04-06 15:01:17 +10:00
Jan Bartel
f4504ffded Issue #1386 2017-03-22 17:36:29 +11:00
Jan Bartel
5bc7882190 Issue #1398 2017-03-16 14:28:41 +11:00
Jan Bartel
0b37e8d8ec Issue #856
Modularize choice of auth connection string or server/port connection.
2017-03-09 16:51:21 +11:00
Jan Bartel
351a55f494 Merge pull request #1372 from jin-z/jetty-9.4.x
Issue #856 Add server/port and auth configuration for mongo sessions
2017-03-09 16:43:50 +11:00
Jin Zhang
7f916762f5 Issue #856 Add server/port and auth configuration for mongo sessions
Signed-off-by: Jin Zhang <jin.zhang@epicgames.com>
2017-03-08 18:21:01 -08:00
Tilo Zemke
80a4aeb2bc mongodb sessions: fix for expiry of local immortal sessions; condition does not get overwritten by anymore
Signed-off-by: Tilo Zemke <telomir@gmail.com>
2017-03-06 15:45:26 +01:00
Jin Zhang
3e5b472c37 Issue #856 Add server/port and auth configuration for mongo sessions
Signed-off-by: Jin Zhang <jin.zhang@epicgames.com>
2017-03-03 13:10:15 -08:00
Simone Bordet
0c8273f2ca Happy New Year 2017. 2017-01-19 19:26:41 +01:00
Simone Bordet
07838b057f Happy New Year 2017. 2017-01-19 18:54:03 +01:00
Simone Bordet
347c48d657 Revert "resolve merge and update license headers"
This reverts commit 53b31b03ddda3776f3db71e28e55312b1c982092, reversing
changes made to 4565c186d7491a97d72217a96e86b15ced506de6.
2017-01-19 18:26:43 +01:00
Jesse McConnell
53b31b03dd resolve merge and update license headers 2017-01-19 09:33:16 -06:00
Jesse McConnell
ce3e6dafec update license headers to 2017 2017-01-19 09:30:00 -06:00
Tilo Zemke
23f11017d3 Fix for MongoSessionIdManager's scavenging of immortal sessions
Signed-off-by: Tilo Zemke <telomir@gmail.com>
2016-11-07 17:54:04 +01:00
Jan Bartel
6ff5a3a7e9 Issue #1017 2016-10-20 12:38:05 +11:00
Greg Wilkins
9d475a624b Normalize tags #998 2016-10-13 10:06:17 +11:00
Greg Wilkins
91e9e7b76a Issue #984 Improve module listing 2016-10-06 17:01:08 +11:00
Jan Bartel
969f1daeb5 Issue #946 2016-09-22 17:49:45 +10:00
Jan Bartel
db30a315fe Issue #856
Add host and port to mongo config
2016-09-09 16:38:53 +10:00
Jan Bartel
79cd9add9f Fix naming in session-store-mongo xml file. 2016-06-17 14:02:32 +10:00
Jan Bartel
1ce0592d6c Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-06-15 16:31:54 +10:00
Jan Bartel
f1c56d7f8c Issue #641
Also use mongo createIndex for index on validity and access time fields
2016-06-15 13:46:39 +10:00
Jan Bartel
7f58701b53 Merge remote-tracking branch 'origin/jetty-9.2.x' into jetty-9.3.x 2016-06-15 13:14:39 +10:00
Jan Bartel
297918f719 Issue #641
Use Mongo createIndex instead of deprecated ensureIndex.
2016-06-15 13:12:37 +10:00
Jan Bartel
d52a1701ad Add module for session data cache 2016-06-08 15:00:32 +10:00
Jan Bartel
f86d72696a Issue #622 2016-06-08 10:23:36 +10:00
Jan Bartel
387f433711 Refactor names of session impl classes; fix bugs; add some tests 2016-05-18 17:05:01 +10:00
Greg Wilkins
42dac144ee Improved session configuration naming 2016-04-30 11:26:28 +10:00
Greg Wilkins
66f242191c Issue #515 Alternate start modules
Used alternate modules for new session architecture
2016-04-30 09:19:38 +10:00
Jan Bartel
480aa4d874 Issue #534
Remove synchronization around session iteration when checking for idle sessions.
2016-04-29 14:38:34 +10:00
Jan Bartel
9212a62d74 Correct session store xml config files 2016-04-15 11:08:46 +10:00
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