Vedran Pavic
99fb17a66b
Adapt to Spring WebSession API changes
2017-09-27 11:52:04 +02:00
Vedran Pavic
eb7bcc5eeb
Harmonize ReactorSessionRepository API
...
This commit renames the `ReactorSessionRepository#delete` to `deleteById` in order to make API consistent with `SessionRepository`.
2017-09-12 23:00:16 +02:00
Vedran Pavic
1e46630467
Remove MapReactorSessionRepository default constructor
...
This commit removes the default `MapReactorSessionRepository` so that the users are required to explicitly supply the `Map` used to store the sessions.
2017-09-12 15:22:29 -05:00
Rob Winch
52ea98b4ce
SpringWebSessionConfigurationTests close ApplicationContext
2017-09-07 20:12:45 -05:00
Rob Winch
5c294ae1d2
Polish
2017-09-07 20:12:45 -05:00
Greg Turnquist
1752928d96
Configure WebSessionManager's WebSessionIdResolver by bean definition
...
Allow a WebSessionIdResolver registered as a Spring bean to be wired into the WebSessionManager.
2017-09-07 20:12:45 -05:00
Vedran Pavic
0cdee25405
Remove MapSessionRepository default constructor
...
This commit removes the default `MapSessionRepository` constructor so that the users are required to explicitly supply the `Map` used to store the sessions.
2017-09-07 19:58:22 -05:00
Rob Winch
4a9f1700d5
Polish
...
Reorder methods
2017-09-06 15:12:13 -05:00
Rob Winch
36ab358d24
Remove SpringSessionWebSessionManager
...
Spring's DefaultWebSessionManager now supports all the functionality
that is needed for Spring Session, so we only need to implement
WebSessionStore
2017-09-06 14:50:48 -05:00
Vedran Pavic
8e3371aed9
Allow easier customization of cookie max age logic
2017-08-24 16:00:59 -05:00
Rob Winch
a83e59bf52
Polish
...
Fix checkstyle
Issue gh-861
2017-08-24 13:52:24 -05:00
Greg Turnquist
8b233e84ef
Create @EnableSpringWebSession annotation.
2017-08-24 13:41:42 -05:00
Greg Turnquist
84e7fbace1
Fix MapReactorSessionRepository's delete().
2017-08-24 13:40:57 -05:00
Rob Winch
a7bb9d3b31
SpringSessionWebSessionManager writes on commit
...
when the ServerHttpResonse is commited the cookie and the session are written
Fixes gh-856
2017-08-18 16:28:46 -05:00
Vedran Pavic
9120151692
Polish "Add WebFlux Support"
...
Closes gh-683
2017-07-21 15:31:45 +02:00
Rob Winch
5abbe66b1d
Add WebFlux Support
2017-07-21 15:30:19 +02:00
Rob Winch
be2604ca69
Add Session.changeSessionId
2017-07-20 16:31:38 -05:00
Vedran Pavic
5845a9c46a
Improve dependency management
...
This commit improves dependency management with the following changes:
- `spring-session-core`: move `javax.servlet-api` from `provided` to `optional` configuration due to introduction of reactive support
- `spring-session-data-redis`: remove Redis driver from `compile` configuration
- Boot samples: delegate Redis driver choice to `spring-boot-starter-data-redis`
- polish `test` configuration dependencies
2017-07-06 17:05:01 -05:00
Vedran Pavic
47a7a35aa4
Remove use of Assert#notNull from core components
...
Fixes gh-820
2017-07-05 17:04:03 +02:00
Vedran Pavic
04b4fe3e3b
Fix Checkstyle violations
2017-07-01 00:04:46 +02:00
Rob Winch
36bb65e4b5
Add default methods to Session
...
Fixes gh-819
2017-06-30 10:25:14 -05:00
Rob Winch
8ef36e4f3e
Session Optional<T> getAttribute -> T getAttribute
...
Issue gh-819
2017-06-30 10:24:59 -05:00
Rob Winch
d42a7b65ea
Add MapReactorSessionRepository
...
Fixes gh-815
2017-06-27 16:32:51 -05:00
Rob Winch
db9807d12b
Add ReactorSessionRepository
...
Fixes gh-814
2017-06-27 16:32:51 -05:00
Vedran Pavic
084e3428fb
Move SessionEventRegistry back to integration-test sources
...
Fixes gh-810
2017-06-23 19:03:46 +02:00
Vedran Pavic
b321ff02f0
Revert "SessionRepository.save returns S"
...
See gh-809
2017-06-23 18:48:30 +02:00
Rob Winch
c6c6beb40c
Session.delete -> deleteById
...
Fixes gh-809
2017-06-22 21:30:14 -05:00
Rob Winch
0127ef9f9b
SessionRepository.getSession(String) -> findById(String)
...
Issue gh-809
2017-06-22 21:29:34 -05:00
Rob Winch
cd8686ae9c
SessionRepository.save returns S
...
Issue gh-809
2017-06-22 21:27:25 -05:00
Rob Winch
043cb42149
Extract spring-session-jdbc
...
Issue gh-806
2017-06-22 09:04:09 -05:00
Rob Winch
c28f047eb5
Extract spring-session-data-hazelcast
...
Issue gh-806
2017-06-22 09:03:50 -05:00
Rob Winch
972cf66d7e
Extract spring-session-data-redis
...
Issue gh-806
2017-06-22 09:03:25 -05:00
Rob Winch
f1319483ee
Move spring-session to spring-session-core
...
Issue gh-806
2017-06-22 09:02:44 -05:00