Merge branch '5.8.x' into 6.0.x

This commit is contained in:
Josh Cummings 2022-11-30 14:19:38 -07:00
commit a76b1f7a51
No known key found for this signature in database
GPG Key ID: A306A51F43B8E5A5
1 changed files with 3 additions and 2 deletions

View File

@ -40,8 +40,9 @@ import org.springframework.util.Assert;
public class DaoAuthenticationProvider extends AbstractUserDetailsAuthenticationProvider { public class DaoAuthenticationProvider extends AbstractUserDetailsAuthenticationProvider {
/** /**
* The plaintext password used to perform PasswordEncoder#matches(CharSequence, * The plaintext password used to perform
* String)} on when the user is not found to avoid SEC-2056. * {@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"; private static final String USER_NOT_FOUND_PASSWORD = "userNotFoundPassword";