Skip to content

Conversation

mcollovati
Copy link
Collaborator

See vaadin/hilla#3807, where the issue currently manifests.

VaadinSavedRequestAwareAuthenticationSuccessHandler isn't actually saved request aware unless RequestCache is correctly shared with it in the configuration, which VaadinSecurityConfigurer was failing to do due to order of events: authentication is configured before customizing request cache. This change makes sure that VaadinDefaultRequestCache instance is set for VaadinSavedRequestAwareAuthenticationSuccessHandler during configuration.

…#21980)

See vaadin/hilla#3807, where the issue currently manifests.

VaadinSavedRequestAwareAuthenticationSuccessHandler isn't actually saved request aware unless RequestCache is correctly shared with it in the configuration, which VaadinSecurityConfigurer was failing to do due to order of events: authentication is configured before customizing request cache. This change makes sure that VaadinDefaultRequestCache instance is set for VaadinSavedRequestAwareAuthenticationSuccessHandler during configuration.
Copy link

sonarqubecloud bot commented Aug 4, 2025

Copy link

github-actions bot commented Aug 4, 2025

Test Results

1 237 files  ± 0  1 237 suites  ±0   1h 14m 37s ⏱️ +15s
8 574 tests + 1  8 518 ✅ + 1  56 💤 ±0  0 ❌ ±0 
8 978 runs  +29  8 913 ✅ +29  65 💤 ±0  0 ❌ ±0 

Results for commit 26f6be3. ± Comparison against base commit 5f61c5f.

@mcollovati mcollovati enabled auto-merge (squash) August 4, 2025 09:36
@mcollovati mcollovati merged commit a010a20 into 24.9 Aug 4, 2025
25 of 27 checks passed
@mcollovati mcollovati deleted the cherry/cherrypick-21980-to-24.9 branch August 4, 2025 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants