-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
in: webAn issue in web modules (web, webmvc)An issue in web modules (web, webmvc)type: enhancementA general enhancementA general enhancement
Description
Expected Behavior
In version 6.0, the default ServerCsrfTokenRequestHandler
of the CsrfWebFilter
class has changed to XorServerCsrfTokenRequestAttributeHandler
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 ServerCsrfTokenRequestAttributeHandler
.
Although XorServerCsrfTokenRequestAttributeHandler
is a subclass of ServerCsrfTokenRequestAttributeHandler
, the behavior is quite different.
Context
In this line, the requestHandler
is initialized with a XorServerCsrfTokenRequestAttributeHandler
instance.
And in this line the javadoc inform the default ServerCsrfTokenRequestHandler
.
Metadata
Metadata
Assignees
Labels
in: webAn issue in web modules (web, webmvc)An issue in web modules (web, webmvc)type: enhancementA general enhancementA general enhancement