Skip to content

Commit 050e4a9

Browse files
riklesjzheaux
authored andcommitted
Fix javadoc in Pbkdf2PasswordEncoder
- Add @author Loïc Guibert - Add @SInCE 5.5 to new constructors See PR gh-9147
1 parent b0d4e50 commit 050e4a9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crypto/src/main/java/org/springframework/security/crypto/password/Pbkdf2PasswordEncoder.java

+3
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
*
4646
* @author Rob Worsnop
4747
* @author Rob Winch
48+
* @author Loïc Guibert
4849
* @since 4.1
4950
*/
5051
public class Pbkdf2PasswordEncoder implements PasswordEncoder {
@@ -95,6 +96,7 @@ public Pbkdf2PasswordEncoder(CharSequence secret) {
9596
* {@value #DEFAULT_HASH_WIDTH} bits.
9697
* @param secret the secret
9798
* @param saltLength the salt length (in bytes)
99+
* @since 5.5
98100
*/
99101
public Pbkdf2PasswordEncoder(CharSequence secret, int saltLength) {
100102
this(secret, saltLength, DEFAULT_ITERATIONS, DEFAULT_HASH_WIDTH);
@@ -120,6 +122,7 @@ public Pbkdf2PasswordEncoder(CharSequence secret, int iterations, int hashWidth)
120122
* @param iterations the number of iterations. Users should aim for taking about .5
121123
* seconds on their own system.
122124
* @param hashWidth the size of the hash (in bits)
125+
* @since 5.5
123126
*/
124127
public Pbkdf2PasswordEncoder(CharSequence secret, int saltLength, int iterations, int hashWidth) {
125128
this.secret = Utf8.encode(secret);

0 commit comments

Comments
 (0)