[doc issue] filter ordering
Author: yousef-fadliCreated Sep 15, 2026Updated Sep 15, 2026
Labelsstatus: waiting-for-triagetype: enhancement
Expected Behavior
The documentation should clarify what addFilterBefore means.
For example, if the we have filter chain is A → B → C and we call addFilterBefore(X, C.class),
is the result
A → B → X → C or
A → X → B → C or
X → A → B → C .
all of them follow the rule of ( X before C ) ?
so i think we need some clarifications for addFilterBefore and addFilterAfter cases
Current Behavior
The documentation only says that
#addFilterBefore(Filter, Class<?>)adds your filter before another filter#addFilterAfter(Filter, Class<?>)adds your filter after another filter
which does not make the exact ordering guarantee clear.
Source: spring-projects/spring-security