From b8f038e86a3469a173e7027dee01c970d953e514 Mon Sep 17 00:00:00 2001 From: Joe Grandja Date: Fri, 30 Nov 2018 06:37:00 -0500 Subject: [PATCH] Polish OAuth2ResourceServerConfigurer --- .../oauth2/server/resource/OAuth2ResourceServerConfigurer.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config/src/main/java/org/springframework/security/config/annotation/web/configurers/oauth2/server/resource/OAuth2ResourceServerConfigurer.java b/config/src/main/java/org/springframework/security/config/annotation/web/configurers/oauth2/server/resource/OAuth2ResourceServerConfigurer.java index 2e64662dbe..eb13966cd5 100644 --- a/config/src/main/java/org/springframework/security/config/annotation/web/configurers/oauth2/server/resource/OAuth2ResourceServerConfigurer.java +++ b/config/src/main/java/org/springframework/security/config/annotation/web/configurers/oauth2/server/resource/OAuth2ResourceServerConfigurer.java @@ -31,7 +31,6 @@ import org.springframework.security.oauth2.core.OAuth2AuthenticationException; import org.springframework.security.oauth2.jwt.Jwt; import org.springframework.security.oauth2.jwt.JwtDecoder; import org.springframework.security.oauth2.jwt.NimbusJwtDecoder; -import org.springframework.security.oauth2.jwt.NimbusJwtDecoderJwkSupport; import org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationConverter; import org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationProvider; import org.springframework.security.oauth2.server.resource.web.BearerTokenAuthenticationEntryPoint; @@ -115,7 +114,7 @@ import static org.springframework.security.oauth2.jwt.JwtProcessors.withJwkSetUr * @since 5.1 * @see BearerTokenAuthenticationFilter * @see JwtAuthenticationProvider - * @see NimbusJwtDecoderJwkSupport + * @see NimbusJwtDecoder * @see AbstractHttpConfigurer */ public final class OAuth2ResourceServerConfigurer> extends