From e469c93f9d2e8e5b825e99e01ca16caf609cecdc Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Thu, 25 Apr 2013 08:49:33 -0500 Subject: [PATCH] SEC-2147: Deprecate .encoding.PasswordEncoding --- .../security/authentication/encoding/PasswordEncoder.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/src/main/java/org/springframework/security/authentication/encoding/PasswordEncoder.java b/core/src/main/java/org/springframework/security/authentication/encoding/PasswordEncoder.java index 9f51da8264..d813fa4c13 100644 --- a/core/src/main/java/org/springframework/security/authentication/encoding/PasswordEncoder.java +++ b/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 ========================================================================================================