Skip to content

Inaccurate javadoc text in setRequestHandler method of CsrfFilter class #12464

Closed
@wldomiciano

Description

@wldomiciano

Expected Behavior

In version 6.0, the default CsrfTokenRequestHandler of the CsrfFilter class has changed to XorCsrfTokenRequestAttributeHandler and the javadoc of the setRequestHandler method should reflect this change.

Current Behavior

The javadoc of the setRequestHandler method still says that the default is the CsrfTokenRequestAttributeHandler.

Although XorCsrfTokenRequestAttributeHandler is a subclass of CsrfTokenRequestAttributeHandler, the behavior is quite different.

Context

In this line, the requestHandler is initialized with a XorCsrfTokenRequestAttributeHandler instance.

And in this line the javadoc inform the default CsrfTokenRequestHandler.

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