From 709de43e89e7cc20eae6cce1ebfd702a54935912 Mon Sep 17 00:00:00 2001 From: Junsung Cho <8730974+rymuff@users.noreply.github.com> Date: Sun, 6 Nov 2022 12:02:07 +0900 Subject: [PATCH 1/2] Fix typo in JavaDoc Closes gh-12143 --- .../security/authentication/dao/DaoAuthenticationProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/springframework/security/authentication/dao/DaoAuthenticationProvider.java b/core/src/main/java/org/springframework/security/authentication/dao/DaoAuthenticationProvider.java index 6d65494af1..88b9c666c1 100644 --- a/core/src/main/java/org/springframework/security/authentication/dao/DaoAuthenticationProvider.java +++ b/core/src/main/java/org/springframework/security/authentication/dao/DaoAuthenticationProvider.java @@ -40,7 +40,7 @@ import org.springframework.util.Assert; public class DaoAuthenticationProvider extends AbstractUserDetailsAuthenticationProvider { /** - * The plaintext password used to perform PasswordEncoder#matches(CharSequence, + * The plaintext password used to perform {@link PasswordEncoder#matches(CharSequence, * String)} on when the user is not found to avoid SEC-2056. */ private static final String USER_NOT_FOUND_PASSWORD = "userNotFoundPassword"; From 14a48ea939737ab25103c5242d90f240e6e6aeab Mon Sep 17 00:00:00 2001 From: Josh Cummings Date: Tue, 29 Nov 2022 20:14:38 -0700 Subject: [PATCH 2/2] Fix formatting Issue gh-12143 --- .../authentication/dao/DaoAuthenticationProvider.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/org/springframework/security/authentication/dao/DaoAuthenticationProvider.java b/core/src/main/java/org/springframework/security/authentication/dao/DaoAuthenticationProvider.java index 88b9c666c1..c21a9ff2f1 100644 --- a/core/src/main/java/org/springframework/security/authentication/dao/DaoAuthenticationProvider.java +++ b/core/src/main/java/org/springframework/security/authentication/dao/DaoAuthenticationProvider.java @@ -40,8 +40,9 @@ import org.springframework.util.Assert; public class DaoAuthenticationProvider extends AbstractUserDetailsAuthenticationProvider { /** - * The plaintext password used to perform {@link PasswordEncoder#matches(CharSequence, - * String)} on when the user is not found to avoid SEC-2056. + * The plaintext password used to perform + * {@link PasswordEncoder#matches(CharSequence, String)} on when the user is not found + * to avoid SEC-2056. */ private static final String USER_NOT_FOUND_PASSWORD = "userNotFoundPassword";