From 8ca07ef4b74633ee120495e64c6a5bafe74698c1 Mon Sep 17 00:00:00 2001 From: kwondh5217 Date: Wed, 18 Dec 2024 14:19:51 +0900 Subject: [PATCH] Remove Deprecated Usages of RemoteJWKSet close gh-16251 --- .../springframework/security/oauth2/jwt/NimbusJwtDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oauth2/oauth2-jose/src/main/java/org/springframework/security/oauth2/jwt/NimbusJwtDecoder.java b/oauth2/oauth2-jose/src/main/java/org/springframework/security/oauth2/jwt/NimbusJwtDecoder.java index d216aef02b..fed8d06731 100644 --- a/oauth2/oauth2-jose/src/main/java/org/springframework/security/oauth2/jwt/NimbusJwtDecoder.java +++ b/oauth2/oauth2-jose/src/main/java/org/springframework/security/oauth2/jwt/NimbusJwtDecoder.java @@ -473,7 +473,7 @@ private JWKSet fetchJWKSet(SecurityContext context) throws KeySourceException { System.currentTimeMillis(), context); } - private static String getFirstSpecifiedKeyID(JWKMatcher jwkMatcher) { + private String getFirstSpecifiedKeyID(JWKMatcher jwkMatcher) { Set keyIDs = jwkMatcher.getKeyIDs(); if (keyIDs == null || keyIDs.isEmpty()) {