Преглед на файлове

SEC-2147: Deprecate .encoding.PasswordEncoding

Rob Winch преди 12 години
родител
ревизия
e469c93f9d
променени са 1 файла, в които са добавени 5 реда и са изтрити 0 реда
  1. 5 0
      core/src/main/java/org/springframework/security/authentication/encoding/PasswordEncoder.java

+ 5 - 0
core/src/main/java/org/springframework/security/authentication/encoding/PasswordEncoder.java

@@ -20,7 +20,12 @@ package org.springframework.security.authentication.encoding;
  * Interface for performing authentication operations on a password.
  *
  * @author colin sampaleanu
+ * @deprecated It is recommended to use
+ *             {@link org.springframework.security.crypto.password.PasswordEncoder}
+ *             instead which better accommodates best practice of randomly
+ *             generated salt that is included with the password.
  */
+@Deprecated
 public interface PasswordEncoder {
     //~ Methods ========================================================================================================