Rob Winch
3df40dd8a9
Merge pull request #319 from izeye/patch-2
...
Upgrade to Gradle Wrapper 2.9
2015-11-28 14:18:56 -06:00
Johnny Lim
9d95638cf8
Upgrade to Gradle Wrapper 2.9
2015-11-28 11:37:02 +09:00
Rob Winch
5ca6377015
Next development version
2015-11-17 21:13:02 -06:00
Spring Buildmaster
33834fdf19
Release version 1.1.0.M1
2015-11-17 12:00:57 -08:00
Rob Winch
8e60c968a1
Add What's New in 1.1 Documentation
...
Fixes gh-304
2015-11-17 13:32:00 -06:00
Rob Winch
41298c490e
Remove warnings
2015-11-17 11:03:36 -06:00
Rob Winch
ee09a9e863
Add ExpiringSession setLastAccessedTime
...
Previously SessionRepository had to update the lastAccessTime when it was
loaded. This prevented inspecting the last access time. For example,
listing all the sessions for a specific user. Furthermore, it is
unintuitive that a read operation would update attributes on the domain
model.
This change introduces ExpiringSession setLastAccessedTime to allow setting
the expiration on the interface. This means that the SessionRepositoryFilter
can update the last accessed time.
Fixes gh-272
2015-11-17 10:47:42 -06:00
Rob Winch
8bd29c1ab2
HttpSessionListener sessionCreated id contains invalid ':'
...
Fixes gh-305
2015-11-16 16:12:35 -06:00
Tommy Ludwig
f1d0350356
Remove unnecessary code
...
Code for a workaround that is no longer necessary was copied from
existing code. This removes that unnecessary code.
2015-11-16 11:21:31 -06:00
Rob Winch
2fa7ecdee5
Remove unnecessary RedisHttpSessionConfiguration code
...
Fixes gh-306
2015-11-16 11:13:31 -06:00
Rob Winch
8a5cba914b
RedisOperationsSessionRepsitory only deletes once
...
Previously RedisOperationsSessionRepository incorrectly:
* Deleted the session
* Added the session
* Set the expiration to be 0
This commit ensures that if the expiration is 0 that the sesson is only
deleted.
Fixes gh-292
2015-11-16 10:52:39 -06:00
Rob Winch
5fbf333c61
Fix RedisOperationsSessionRepository Logger name
2015-11-16 10:26:44 -06:00
Rob Winch
33c9485031
Deprecate SessionMessageListener
...
Deprecate SessionMessageListener in favor of
RedisOperationsSessionRepository
Fixes gh-289
2015-11-16 10:25:55 -06:00
Rob Winch
2e82b311ee
Fix custom MultiHttpSessionStrategy configuration
...
Fixes gh-303
2015-11-11 15:27:01 -06:00
Rob Winch
8c07537bec
Add CookieSerializer Strategy
...
This allows for custom seralization of the Cookie.
Fixes gh-299
2015-11-11 15:25:27 -06:00
Tommy Ludwig
c701e1877e
Fix NPE with EnableHazelcastHttpSession and add tests
...
This fixes the NPE caused by setting maxInactiveIntervalInSeconds = ""
on the EnableHazelcastHttpSession annotation. This is a basic scenario
that was not covered by integration tests. Tests configuring Hazelcast
with an XML file (probably the most common method in the wild) covering
the failing scenario and more have been added.
2015-11-09 10:10:39 -06:00
Rob Winch
7186878f84
Update to Gradle 2.9 rc1
...
Fixes gh-298
2015-11-05 09:30:12 -06:00
Rob Winch
aeef1417e1
Display Javadoc Errors
2015-11-05 09:30:12 -06:00
Rob Winch
76d341d6ca
Polish Hazelcast
...
* This commit moves the hazelcast support into a parent package
so that it no longer impies a Spring Data dependency.
* Add guards on SessionEntryListener logger
* Remove getSessionMapName on HazelcastHttpSessionConfiguration
* Use setSessionMapName on HazelcastHttpSessionConfiguration
rather than field access
* Formatting polish
* Fix Javadoc
Issue gh-276
2015-11-05 09:30:03 -06:00
Tommy Ludwig
d1c00c6080
Add Hazelcast
...
Fixes gh-276
2015-11-04 16:13:20 -06:00
Rob Winch
a48864bf20
Fix EnableSpringHttpSession @since
...
Issue gh-231
2015-10-01 15:42:09 -05:00
Rob Winch
bebb596846
Merge pull request #284 from manderson23/master
...
Minor documentation fix
2015-08-31 15:42:19 -05:00
Mark Anderson
af5899fb1a
Fix inconsistency in docs when describing delete/expired events for Redis.
2015-08-31 21:17:30 +01:00
Rob Winch
489a26c14c
Allow default RedisSerializer to be specified
...
Fixes gh-283
2015-08-31 10:26:48 -05:00
Rob Winch
134d23bb07
Add jsp-api to security sample
...
Fixes gh-279
2015-08-25 15:11:28 -05:00
Rob Winch
8b5469ef5c
Polish hazelcast-spring sample
...
* Add author for Mark Anderson created classes
* Add Apache License
* Add jsp-api dependency
Issue gh-274
2015-08-25 15:10:38 -05:00
Mark Anderson
e3414ef11e
Add hazelcast-spring Sample
...
Fixes gh-274
2015-08-25 15:10:10 -05:00
Rob Winch
68ad464b67
Add minimal Contributor guidelines
2015-08-25 09:14:38 -05:00
Rob Winch
db2759c497
Add Eclipse Code Formatter
2015-08-19 20:45:00 -05:00
Rob Winch
8760d7037a
Polish RedisOperationsSessionRepositoryITests
2015-08-19 11:52:44 -05:00
Rob Winch
d2f7ac4898
Polish RedisOperationsSessionRepositoryITests
...
* Add namespace so we don't receive events for other tests
* Delete Sessions so don't receive events later
* Clear Registry before every test
2015-08-19 11:43:25 -05:00
Rob Winch
5fd2c71559
Minimize MapSession's use of Secure Random
...
Previously when creating a MapSession from an existing session required
that UUID.randomUUID() be invoked. This could slow down the system
since it requires entropy.
MapSession now has a constructor that accepts the id which prevents
Secure random from being used when the session is already known.
Fixes gh-271
2015-08-19 11:38:17 -05:00
Rob Winch
6414d0ddb8
Update to 1.1
2015-08-18 15:18:53 -05:00
Rob Winch
ba97bdf2fa
EnableSpringHttpSession updated to since 1.2
2015-08-18 15:10:58 -05:00
Rob Winch
6c82628402
Fix FindByUsernameSessionRepository indent
...
Issue gh-7
2015-08-18 12:42:12 -05:00
Rob Winch
16b65973b7
Add EnableSpringHttpSession
...
Fixes gh-231
2015-08-18 12:41:50 -05:00
Rob Winch
db45698e25
Support application specific prefix
...
Fixes gh-166
2015-08-17 14:44:22 -05:00
Rob Winch
6234dd5681
Refactor tests
...
Prepare the tests for supporting an application prefix to ensure
there are no regressions.
Issue gh-166
2015-08-17 14:44:22 -05:00
Rob Winch
00d50593c1
Add livereload to docs/build.gradle
...
Fixes gh-269
2015-08-17 14:44:14 -05:00
Rob Winch
881ca7c2d4
Support querying for sessions by user identifier
...
Fixes gh-7
2015-08-17 14:41:55 -05:00
Rob Winch
77eb6cfd71
Remove commons-httpclient:commons-httpclient
...
Fixes gh-268
2015-08-17 14:41:35 -05:00
Rob Winch
21065b23c0
Add HttpSessionListener Support
...
Fixes gh-4
2015-08-12 16:55:01 -05:00
Rob Winch
7693d0e624
Extract out ExpiringSessionHttpSession
...
This allows the HttpSession Spring Session adapter to be reused
for HttpSessionEvent.
Issue gh-4
2015-08-12 16:55:01 -05:00
Rob Winch
2503537e36
Fix reference indentation for REST subsections
...
Fixes gh-262
2015-08-12 16:55:01 -05:00
Rob Winch
d27d9a22bf
Add SessionCreatedEvent
...
Fixes gh-261
2015-08-12 16:55:01 -05:00
Rob Winch
6e1ecadcc4
Add Sesison to SessionExpiredEvent
...
Fixes gh-260
2015-08-12 16:49:10 -05:00
Rob Winch
690fbc8d3f
RedisOperations<String,ExpiringSession> -> RedisOperations<Object,Object>
...
The RedisOperations manages more than just ExpiringSessions, so we need
to make this more generice.
Fixes gh-259
2015-08-12 16:37:56 -05:00
Rob Winch
3ba07ec0a8
Polish add SessionDeletedEvent & SessionExpiredEvent
...
* Add @author Mark Anderson for proper credit
* SessionDestroyedEvent no longer abstract to preserve passivity
Issue gh-258
2015-08-12 16:34:35 -05:00
Mark Anderson
7518306975
Add SessionExpiredEvent and SessionDeletedEvent
...
Fixes gh-258
2015-08-12 16:24:18 -05:00
Spring Buildmaster
249361bb7f
Next development version
2015-08-03 14:07:47 -07:00