Skip to content

Add Support for LazyCsrfTokenRepository to Defer Loading CsrfTokens #11700

@rwinch

Description

@rwinch

LazyCsrfTokenRepository supports lazily saving the CsrfToken which allowed for lazily saving the CsrfToken. However, it does not support lazily reading the CsrfToken. This means every request requires reading the CsrfToken (often the HttpSession).

We should add support for lazily reading the CsrfToken and thus prevent unnecessary reads to the HttpSession.

Metadata

Metadata

Assignees

Labels

in: webAn issue in web modules (web, webmvc)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions