Skip to content

Filter order documentation appears to be inconsistent #14531

Closed
@jpmsilva

Description

@jpmsilva

Describe the bug
The order of the security filters is documented at org.springframework.security.config.annotation.web.HttpSecurityBuilder#addFilter, but that order does not appear to be consistent with what the actual code at org.springframework.security.config.annotation.web.builders.FilterOrderRegistration#FilterOrderRegistration does.
Notice, for instance, that the order of ForceEagerSessionCreationFilter and DisableEncodeUrlFilter are switched between the documentation and the actual code.

Metadata

Metadata

Assignees

Labels

in: configAn issue in spring-security-configstatus: duplicateA duplicate of another issuetype: bugA general bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions