SEC-2708: SavedRequestAwareAuthenticationSuccessHandler ignores configured RequestCache #2932
Labels
in: config
An issue in spring-security-config
type: bug
A general bug
type: jira
An issue that was migrated from JIRA
Greg Adams (Migrated from SEC-2708) said:
I'm using a custom RequestCache, specified in JavaConfig thus:
The problem is that SavedRequestAwareAuthenticationSuccessHandler doesn't use CookieRequestCache when configured like this, it still uses the default HttpSessionRequestCache. I have to resort to something like this:
to get saved request functionality to work with my customer request cache. I would think the request cache configured at the HttpSecurity level should be shared and used in the default form login success handler.
The text was updated successfully, but these errors were encountered: