From bc7de64c428acfc05133a5d175f513cd060c4900 Mon Sep 17 00:00:00 2001 From: Ahmet Say Date: Fri, 20 Oct 2023 10:58:58 +0300 Subject: [PATCH] adding import added the import statement --- .../java/example/OAuth2ResourceServerSecurityConfiguration.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/java/example/OAuth2ResourceServerSecurityConfiguration.java b/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/java/example/OAuth2ResourceServerSecurityConfiguration.java index b3b1ea1..f38b731 100644 --- a/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/java/example/OAuth2ResourceServerSecurityConfiguration.java +++ b/servlet/spring-boot/java/oauth2/resource-server/hello-security/src/main/java/example/OAuth2ResourceServerSecurityConfiguration.java @@ -26,6 +26,8 @@ import org.springframework.security.oauth2.jwt.JwtDecoder; import org.springframework.security.oauth2.jwt.NimbusJwtDecoder; import org.springframework.security.web.SecurityFilterChain; +import static org.springframework.security.config.Customizer.withDefaults; + /** * OAuth resource configuration. *