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()) {