From 44bd918e4020fe6c3b6569805f8c882a9513cc98 Mon Sep 17 00:00:00 2001 From: Loic Guibert Date: Wed, 25 Nov 2020 12:14:26 +0100 Subject: [PATCH] Fix javadoc in Pbkdf2PasswordEncoder MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add @author Loïc Guibert - Add @since 5.5 to new constructors See PR gh-9147 --- .../security/crypto/password/Pbkdf2PasswordEncoder.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crypto/src/main/java/org/springframework/security/crypto/password/Pbkdf2PasswordEncoder.java b/crypto/src/main/java/org/springframework/security/crypto/password/Pbkdf2PasswordEncoder.java index 12722a206c6..4e5b292d4fb 100644 --- a/crypto/src/main/java/org/springframework/security/crypto/password/Pbkdf2PasswordEncoder.java +++ b/crypto/src/main/java/org/springframework/security/crypto/password/Pbkdf2PasswordEncoder.java @@ -45,6 +45,7 @@ * * @author Rob Worsnop * @author Rob Winch + * @author Loïc Guibert * @since 4.1 */ public class Pbkdf2PasswordEncoder implements PasswordEncoder { @@ -95,6 +96,7 @@ public Pbkdf2PasswordEncoder(CharSequence secret) { * {@value #DEFAULT_HASH_WIDTH} bits. * @param secret the secret * @param saltLength the salt length (in bytes) + * @since 5.5 */ public Pbkdf2PasswordEncoder(CharSequence secret, int saltLength) { this(secret, saltLength, DEFAULT_ITERATIONS, DEFAULT_HASH_WIDTH); @@ -120,6 +122,7 @@ public Pbkdf2PasswordEncoder(CharSequence secret, int iterations, int hashWidth) * @param iterations the number of iterations. Users should aim for taking about .5 * seconds on their own system. * @param hashWidth the size of the hash (in bits) + * @since 5.5 */ public Pbkdf2PasswordEncoder(CharSequence secret, int saltLength, int iterations, int hashWidth) { this.secret = Utf8.encode(secret);