Skip to content

Javadoc for AuthorizationFilter#filterErrorDispatch is wrong #13456

@HackSung

Description

@HackSung

In the Spring Security 6.1.1,
The javadoc for the setFilterErrorDispatch method of the AuthorizationFilter class states that the default value of the filterErrorDispatch property is false.
However, in the AuthorizationFilter code, it is implemented as follows
private boolean filterErrorDispatch = true;

Shouldn't it modify the default value to false?
The same goes for filterAsyncDispatch.

Metadata

Metadata

Labels

in: docsAn issue in Documentation or samplestype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions