diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/oauth2/resource/OAuth2ResourceServerConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/oauth2/resource/OAuth2ResourceServerConfiguration.java index 8e8414ee0e6..97b0b4f4606 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/oauth2/resource/OAuth2ResourceServerConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/oauth2/resource/OAuth2ResourceServerConfiguration.java @@ -106,7 +106,7 @@ public class OAuth2ResourceServerConfiguration { } - private static class ResourceServerFilterChainOrderProcessor + private static final class ResourceServerFilterChainOrderProcessor implements BeanPostProcessor { private final ResourceServerProperties properties;