Merge branch '5.6.x' into 5.7.x

This commit is contained in:
Josh Cummings 2022-11-30 14:18:12 -07:00
commit e23c1cf7a7
No known key found for this signature in database
GPG Key ID: A306A51F43B8E5A5

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";