Skip to content

Update DeferredCsrfToken to implement Supplier #16870

Closed
@jzheaux

Description

@jzheaux

By implementing Supplier, calls to the CsrfTokenRequestHandler API will simply from:

requestHandler.handle(request, response, deferredCsrfToken::get)

to

requestHandler.handle(request, response, deferredCsrfToken)

This also has the side benefit of aligning with how the reactive equivalent API is invoked.

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions