mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-09 19:09:03 +00:00
The need to set the order of ResourceServerConfiguration was a bad assumption. The value of the order seems strange as well (-10), and a comment explaining it makes no sense (a resource server normally wants its filter *after* not *before* the existing auth server filter). Removing the bean post processor didn't fail any tests. In case there are multiple resource servers in the same context there was also a problem that they ended up with the same order.