Marcus Hert Da Coregio
9c9b607171
Declare webSocketRegistryListener() as static method
...
Closes gh-3077
2024-07-10 13:56:11 -03:00
Marcus Da Coregio
3608d8aa54
Log a warning if custom DefaultCookieSerializer does not have rememberMeRequestAttribute set
...
Closes gh-2568
2023-10-26 14:51:47 -03:00
Marcus Da Coregio
852efed86c
Merge branch '3.1.x'
2023-10-19 11:07:08 -03:00
Marcus Da Coregio
1cac1305c4
Fix checkstyle issues
...
Issue gh-2528
2023-10-19 11:03:30 -03:00
Marcus Da Coregio
4e63eae0aa
Merge branch '3.1.x'
...
Closes gh-2530
2023-10-19 10:35:43 -03:00
Marcus Da Coregio
2b69cff478
Update spring-javaformat to 0.0.39
...
Closes gh-2528
2023-10-19 10:33:00 -03:00
Marcus Da Coregio
27782d659b
Merge branch '3.1.x'
...
Closes gh-2492
2023-10-18 11:07:52 -03:00
Marcus Da Coregio
047839e3f2
Use Gradle Version Catalog
...
Closes gh-2490
2023-10-18 11:01:56 -03:00
Marcus Da Coregio
26e7995b11
Implement StompEndpointRegistry#setPreserveReceiveOrder
...
Issue gh-2487
2023-10-16 15:10:50 -03:00
Marcus Da Coregio
24390d824b
Upgrade mockito to 5.5.0
...
Closes gh-2462
2023-10-04 11:34:08 -03:00
Yanming Zhou
11ce4b4561
Polishing
...
1. fix deprecations
2. fix generics
3. use lambda instead of anonymous class
4. mark some fields as final
2023-10-03 10:24:29 -03:00
Yanming Zhou
f7662b03b3
Continue renaming SessionIdGenerationStrategy to SessionIdGenerator
2023-08-16 11:26:30 -03:00
Yanming Zhou
b4e9af9ca4
Avoid blocking on session id generation
...
see https://github.com/spring-projects/spring-session/issues/2393
2023-08-12 20:30:17 -03:00
Marcus Da Coregio
2d4233fcfd
Rename SessionIdGenerationStrategy to SessionIdGenerator
...
Closes gh-2391
2023-08-03 13:44:42 -03:00
Marcus Da Coregio
d547b33962
Introduce SessionIdGenerationStrategy
...
Closes gh-11
2023-07-13 09:48:44 -03:00
Marcus Da Coregio
dbd9567e23
Fix import formatting
...
Issue gh-2285
2023-06-23 15:05:54 -03:00
Marcus Da Coregio
2d43c31e67
Polish Contribution
...
Issue gh-2285
2023-06-23 13:46:41 -03:00
Laurent SCHOELENS
7360723583
[GH-2284] fix commitSession() called multiple times in requestDispatcher.include
2023-06-23 13:46:40 -03:00
Marcus Da Coregio
c98a7be0e2
Remove System.out.println
...
Closes gh-2215
2022-12-01 10:17:20 -03:00
Vedran Pavic
238416ec23
Polish HttpSessionAdapter
2022-11-15 11:47:01 -06:00
Vedran Pavic
4b99428267
Polish SessionRepositoryFilterTests
2022-11-15 11:47:01 -06:00
Andy Wilkinson
ee4df64bb1
Align wth Servlet 6.0 API
2022-11-07 10:27:13 -06:00
Vedran Pavic
e5eeacec5f
Update security config in samples
...
This commit updates security configuration in samples to:
- use AuthorizationFilter instead of FilterSecurityInterceptor
- update session creation policy in REST sample
2022-10-25 14:27:39 -05:00
Vedran Pavic
82db55c3f8
Polish SessionRepositoryFilter
...
This commit polishes SessionRepositoryFilter by simplifying some code paths.
2022-10-18 16:47:30 -05:00
Yanming Zhou
1f38a937bd
Eliminate unnecessary sessionRepository::findById
2022-10-18 16:47:30 -05:00
Vedran Pavic
30b8e68c67
Build against Spring Framework 6.0.0-RC1 snapshots
2022-10-06 21:52:31 -05:00
Vedran Pavic
6d74cf5f35
Use java.time in all session repositories and configurations
...
This commit reworks all session repository implementations and their respective configurations to use java.time for managing maxInactiveInterval and other temporal values.
2022-10-06 10:26:50 -05:00
Vedran Pavic
4b34f35b82
Replace JSR-250 annotations with standard Spring lifecycle callbacks
2022-09-26 08:59:06 -05:00
Vedran Pavic
fb66cf3150
Remove @Configuration meta-annotation from @Enable*Session annotations
...
Closes gh-1361
2022-09-22 16:13:16 -05:00
Vedran Pavic
8e8de48614
Fix deprecation warnings
2022-09-06 15:27:53 -05:00
Marcus Da Coregio
812ac239c0
Fix Session Security Runtime Hints always being registered
...
Splits the Security and Common Session hints in two different classes and only register security hints if SecurityContextImpl is present
Issue gh-2104
2022-08-05 10:59:50 -03:00
Marcus Da Coregio
65b994cad1
Polish RuntimeHintsRegistrar
...
Add RuntimeHints suffix to classes
Make classes package-private
Use ReflectionUtilsPredicates#serialization
Closes gh-2111
Closes gh-2112
2022-07-18 09:06:57 -03:00
Marcus Da Coregio
abce2eb555
Add native-image support for Core classes
...
Closes gh-2104
2022-07-08 11:20:54 -03:00
Eleftheria Stein
182d24219c
Migrate to Jakarta EE 9
...
Closes gh-1949
2021-11-11 18:21:26 +01:00
Eleftheria Stein
147ea82a43
Use BDD mockito style
...
Issue gh-1946
2021-11-09 14:36:53 +01:00
Eleftheria Stein
b4bbbe8bd6
Fix Javadoc tag order
...
Issue gh-1946
2021-11-09 14:36:53 +01:00
Eleftheria Stein
ea1c619918
Fix whitespace
...
Issue gh-1946
2021-11-09 14:36:53 +01:00
Eleftheria Stein
5c2eb3af1c
Remove unnecessary non-Javadoc keyword
...
Issue gh-1946
2021-11-09 14:36:53 +01:00
Eleftheria Stein
5fdbfce4c2
Update Gradle to 7.2
...
Closes gh-1944
2021-11-02 14:28:31 +01:00
Eleftheria Stein
9ad871a30b
Add setter for autowired field in SpringWebSessionConfiguration
...
Closes gh-1918
2021-09-23 14:54:22 +02:00
Eleftheria Stein
971a2d17d9
Set cookie path to context path without trailing slash
...
Closes gh-1863
2021-07-20 10:00:53 +02:00
Eleftheria Stein
d2960b570f
Polish gh-1798
...
- Should throw IllegalStateException
2021-03-25 09:55:32 +02:00
Eleftheria Stein
8bd4374909
Throw exception if session created after response
...
Closes gh-1798
2021-03-25 09:27:27 +02:00
Eleftheria Stein
77deb63373
Fix SessionRepositoryFilter Javadoc
2021-03-17 16:39:45 +01:00
Eleftheria Stein
62ad3e1bab
Replace deprecated verifyZeroInteractions in tests
2021-01-29 17:00:03 +01:00
Thanh Nhan
5c05970b86
Update OncePerRequestFilter to match with spring-web
...
Closes gh-1658
2020-07-27 03:58:21 -04:00
Kacper
9e7736bf7f
Complete Javadoc description of setCookieMaxAge
...
Issue: gh-1627
2020-05-11 15:16:40 -04:00
Adam Kucera
e7fb9fce47
Fix examples in JavaDocs of classes which use SessionRepositories
...
The examples in JavaDocs of @EnableSpringHttpSession, SpringHttpSessionConfiguration and @EnableSpringWebSession were creating MapSessionRepository / ReactiveMapSessionRepository
using a constructor, which no longer exists in the classes. This should allow the example
to be used out of the box.
2020-02-20 15:25:46 -05:00
Vedran Pavic
bc9d5f1299
Start building against Spring Framework 5.2.2.RELEASE snapshots
...
See: #1548
2019-11-16 10:20:11 +01:00
Christoph Dreis
89a4255679
Parse expression only once in PrincipalNameIndexResolver
...
Resolves : #1539
2019-11-15 12:13:42 +01:00