浏览代码

Fix typo

Closes #5579
Johnny Lim 7 年之前
父节点
当前提交
e945f3bf82

+ 1 - 1
crypto/src/main/java/org/springframework/security/crypto/password/LdapShaPasswordEncoder.java

@@ -37,7 +37,7 @@ import java.util.Base64;
  *
  * @author Luke Taylor
  * @deprecated Digest based password encoding is not considered secure. Instead use an
- * adaptive one way funciton like BCryptPasswordEncoder, Pbkdf2PasswordEncoder, or
+ * adaptive one way function like BCryptPasswordEncoder, Pbkdf2PasswordEncoder, or
  * SCryptPasswordEncoder. Even better use {@link DelegatingPasswordEncoder} which supports
  * password upgrades. There are no plans to remove this support. It is deprecated to indicate
  * that this is a legacy implementation and using it is considered insecure.

+ 1 - 1
crypto/src/main/java/org/springframework/security/crypto/password/Md4PasswordEncoder.java

@@ -71,7 +71,7 @@ import java.util.Base64;
  * @author Rob winch
  * @since 5.0
  * @deprecated Digest based password encoding is not considered secure. Instead use an
- * adaptive one way funciton like BCryptPasswordEncoder, Pbkdf2PasswordEncoder, or
+ * adaptive one way function like BCryptPasswordEncoder, Pbkdf2PasswordEncoder, or
  * SCryptPasswordEncoder. Even better use {@link DelegatingPasswordEncoder} which supports
  * password upgrades. There are no plans to remove this support. It is deprecated to indicate
  * that this is a legacy implementation and using it is considered insecure.

+ 1 - 1
crypto/src/main/java/org/springframework/security/crypto/password/MessageDigestPasswordEncoder.java

@@ -74,7 +74,7 @@ import java.util.Base64;
  * @author Rob Winch
  * @since 5.0
  * @deprecated Digest based password encoding is not considered secure. Instead use an
- * adaptive one way funciton like BCryptPasswordEncoder, Pbkdf2PasswordEncoder, or
+ * adaptive one way function like BCryptPasswordEncoder, Pbkdf2PasswordEncoder, or
  * SCryptPasswordEncoder. Even better use {@link DelegatingPasswordEncoder} which supports
  * password upgrades. There are no plans to remove this support. It is deprecated to indicate
  * that this is a legacy implementation and using it is considered insecure.