Skip to content

addFilterAt exception #18383

@gksdnf050

Description

@gksdnf050

In the following section of the documentation:
https://docs.spring.io/spring-security/reference/servlet/architecture.html

It states:
“Note that if that filter has already been added, then Spring Security will throw an exception.”

However, in practice, adding the same filter type twice to the same SecurityFilterChain using addFilterAt does not always result in an exception.

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions