Vedran Pavić
fb356f02ff
SessionRepositoryFilterTests Sleeps for 50 ms
2016-06-06 08:45:19 -05:00
Vedran Pavić
509fb99a5d
Improve JDBC transaction management doc
2016-05-20 11:56:58 -05:00
Vedran Pavić
2aff5b0377
Fix EnableRedisHttpSession.redisFlushMode javadoc
...
Fix EnableRedisHttpSession.redisFlushMode javadoc
2016-05-16 08:04:47 -05:00
Vedran Pavić
458ac6e700
Increase default size for attribute_name column ( #515 )
2016-05-06 17:03:40 -05:00
Vedran Pavić
33321d2e53
Polish MongoHttpSessionConfigurationTests
...
This improves test coverage and makes the MongoHttpSessionConfigurationTests
more consistent with analogous tests for other repositories.
Fixes gh-503
2016-05-02 15:11:54 -05:00
Vedran Pavic
00e7110594
Implement individual attribute persistence in JdbcOperationsSessionRepository
2016-04-26 14:29:23 -05:00
Eddú Meléndez Gonzales
f973e63fce
Set collectionName attribute in MongoOperationsSessionRepository
...
Previous to this commit, collectionName could be set in
MongoHttpSessionConfiguration but it was never used. Now, attribute
can be set into MongoOperationsSessionRepository to take effect.
See gh-489
2016-04-26 14:27:02 -05:00
Eddú Meléndez
edbf8bf587
Expose attributes in MongoHttpSessionConfiguration
...
Attributes collectionName and maxInactiveIntervalInSeconds can be set
now.
Fixes gh-489
2016-04-20 13:49:18 -05:00
Johnny Lim
234f6c954a
Remove duplicate words
...
Remove duplicate words
Fixes gh-494
2016-04-18 23:27:48 -05:00
Eddú Meléndez
5865b0a715
Add tableName setter for JdbcHttpSessionConfiguration
...
See gh-488
2016-04-19 01:00:40 +10:00
Vedran Pavić
67201417df
Add compile dependency to commons-logging ( #476 )
2016-04-11 10:55:10 -05:00
John Blum
2d6f505a30
Update to Spring Data Hopper
...
Fixes gh-470
2016-04-11 09:31:05 -05:00
Rob Winch
7c616a1adf
Redis save does nothing if nothing has changed
...
Fixes gh-467
2016-04-06 15:38:34 -05:00
Vedran Pavić
3f819a94b1
Enable transaction management for JdbcOperationsSessionRepository operations
2016-04-05 23:39:36 -05:00
Rob Winch
b97306a83d
Merge pull request #450 from vpavic/gh-445
...
Fix loading of JdbcSession's lastAccessedTime attribute
2016-03-28 15:06:49 -05:00
Vedran Pavic
63006db45d
Fix loading of JdbcSession's lastAccessedTime attribute
...
Fixes gh-445.
2016-03-28 18:13:16 +02:00
Vedran Pavic
0a99e065ff
Polish JdbcHttpSessionConfigurationTests
2016-03-28 17:49:02 +02:00
Vedran Pavic
903cac492e
Use Flapdoodle Embedded MongoDB for integration tests and samples
2016-03-25 07:27:33 +01:00
lowzj
128e0c4d47
Fix SessionRepositoryFilter comment typo
2016-03-23 19:32:05 +08:00
Vedran Pavic
b88f48f01d
Externalize H2 database dependency version
2016-03-20 01:56:35 +01:00
Rob Winch
b58ea03a3b
Polish JdkMongoSessionConverter
...
* Serializer/Deserializer -> Converter API
* Verify/Test null constructor arguments
Issue gh-431
2016-03-16 21:06:57 -05:00
Jakub Kubrynski
9014ac9060
JdkMongoSessionConverter supports custom ClassLoader
...
Fixes gh-431
2016-03-16 20:35:39 -05:00
Rob Winch
bbbdf939e8
Polish JacksonMongoSessionConverter
...
Issue gh-416
2016-03-14 13:29:17 -05:00
Jakub Kubrynski
e23398b890
Add JacksonMongoSessionConverter
...
Fixes gh-416
2016-03-14 13:29:17 -05:00
Rob Winch
195228ff5a
Fix checkstyle
...
Fixes gh-423
2016-03-14 10:41:40 -05:00
Øyvind Horneland
831d2f4152
SessionRepositoryFilter caches null session lookup
...
If a session cannot be found by id, we will cache that result for any
subsequent calls to getSession(false) for the duration of this request.
Fixes gh-423
2016-03-14 10:40:25 -05:00
Erin Drummond
49f24e493d
Fix JdbcOperationsSessionRepository session cleanup
...
Make JDBC session cleanup logic actually cleanup expired sessions
as opposed to all sessions
Fixes gh-421
2016-03-11 09:28:18 -06:00
Rob Winch
68ddcef83e
Fix Javadoc
2016-03-07 16:08:54 -06:00
Rob Winch
f0200696ef
Additional Checkstyle Fixes
...
Issue gh-393
2016-03-07 15:36:17 -06:00
Vedran Pavic
7f3302253b
Prepare codebase to adhere to Checkstyle rules
...
Issue gh-393
2016-03-07 15:33:42 -06:00
Rob Winch
216bfd7355
MongoSessionConverter -> AbstractMongoSessionConverter
...
Using Abstract prefix follows conventions for abstract classes
beginning with Abstract. This also opens up the door to introduce
a MongoSessionConverter interface in the future.
Issue gh-17
2016-03-07 12:45:05 -06:00
Jakub Kubrynski
34cebc3df6
Add MongoOperationsSessionRepository
...
Fixes gh-17
2016-03-07 12:45:05 -06:00
Rob Winch
7b28b214ff
Polish JdbcOperationsSessionRepository
...
* Fix whitepspaces
* Remove Override from interfaces
Issue gh-364
2016-03-07 09:25:30 -06:00
Rob Winch
8f8cfe5d79
JdbcOperationsSessionRepository uses ConversionService
...
Issue gh-364
2016-03-07 09:18:21 -06:00
Vedran Pavic
cd38e307e0
Add JdbcOperationsSessionRepository
...
This commit provides implementation of SessionRepository based
on Spring's JdbcOperations interface.
@EnableJdbcHttpSession annotation is provided to ease the
configuration, together with spring-session-jdbc BOM and schema
creation scripts for all major databases.
Fixes gh-364
2016-03-04 11:24:06 -06:00
Rob Winch
091d0d8d9f
DefaultCookieSerializer ignores null Cookie value
...
Previously a null Cookie value was returned by DefaultCookieSerializer
readCookieValues(). This could cause NullPointerExeptions later on.
This commit ignores cookies with a null value.
Fixes gh-392
2016-03-04 10:22:33 -06:00
John Blum
3300b58afe
Fix GemFire TODOs
...
Upgrades Spring Session to use Spring Data GemFire 1.7.4.RELEASE
and addresses all TODOs.
Fixes gh-403
2016-02-29 21:07:00 -06:00
John Blum
00af8456d4
@DirtiesContext for GemFire integration tests
...
Applies @DirtiesContext to all Spring Session Data GemFire integration
tests to ensure that no lingering GemFire (peer or client) cache
instances cause conflicts on downstream tests.
Fixes gh-396
2016-02-29 20:46:59 -06:00
Rob Winch
aeb0add50e
Fix GemFire compile in Eclipse
...
Fixes gh-399
2016-02-29 15:47:01 -06:00
Rob Winch
671bfa0444
Revert "Fix GemFire compile in Eclipse"
...
This reverts commit 8bf3a251bb .
since the fixes to the tests are incorrect.
2016-02-29 15:46:44 -06:00
Rob Winch
8bf3a251bb
Fix GemFire compile in Eclipse
...
Fixes gh-399
2016-02-29 14:38:18 -06:00
Rob Winch
11ca552625
Update Dependency Versions
...
Fixes gh-386
2016-02-25 13:08:44 -06:00
John Blum
53d7c84f73
Fix ClassCastException Token$Tombstone
...
Fixes gh-373
2016-02-24 17:01:26 -06:00
Rob Winch
1871915c62
Update SessionEventRegistry to store all events
...
This ensures that if multiple events are published, we wait until the event
with the expected session id is fired.
Fixes gh-382
2016-02-23 15:41:57 -06:00
Rob Winch
d5259bf0e9
Fix RedisSessionExpirationPolicy logger name
...
Fixes gh-329
2016-02-23 14:31:00 -06:00
Rob Winch
12b1dda24c
Remove EnableScheduling from SpirngHttpsessionConfiguration
...
Fixes gh-377
2016-02-22 22:43:15 -06:00
Rob Winch
fad66c5cd2
Spaces to Tabs
2016-02-22 22:12:47 -06:00
Rob Winch
4c01782d6c
Polish gh-314
...
* Formatting
* Place lock inside test object
2016-02-22 13:23:42 -06:00
Vladimir Tsanev
5bf12fdd93
Custom task executors for RedisMessageListenerContainer
...
Tasks executors used by redisMessageListenerContainer can now optionally
be overriden with beans named springSessionRedisTaskExecutor and/or
springSessionRedisSubscriptionExecutor.
Fixes gh-314
2016-02-22 13:22:53 -06:00
Rob Winch
d209a10514
Clean up principal index immediately on delete
...
Previously index was cleaned up only in the Redis Keyspace Notification.
This meant there was a delay in removing the index. This does not cause
a bug since we verify sessions exist and are not expired when we look up
sessions by index. However, it could be improved.
This commit ensures that the index is cleaned up immediately on session
deletion.
Fixes gh-367
2016-02-15 08:32:59 -06:00