diff --git a/oauth2/oauth2-core/src/main/java/org/springframework/security/oauth2/core/ClaimAccessor.java b/oauth2/oauth2-core/src/main/java/org/springframework/security/oauth2/core/ClaimAccessor.java index 46256b58d32..e419d1e3779 100644 --- a/oauth2/oauth2-core/src/main/java/org/springframework/security/oauth2/core/ClaimAccessor.java +++ b/oauth2/oauth2-core/src/main/java/org/springframework/security/oauth2/core/ClaimAccessor.java @@ -134,7 +134,7 @@ default URL getClaimAsURL(String claim) { * @param claim the name of the claim * @return the claim value or {@code null} if the claim does not exist * @throws IllegalArgumentException if the claim value cannot be converted to a - * {@code List} + * {@code Map} * @throws NullPointerException if the claim value is {@code null} */ @SuppressWarnings("unchecked")