diff --git a/core/src/main/java/org/acegisecurity/providers/encoding/PasswordEncoder.java b/core/src/main/java/org/acegisecurity/providers/encoding/PasswordEncoder.java index 28eb8ca903..a158cfe6b0 100644 --- a/core/src/main/java/org/acegisecurity/providers/encoding/PasswordEncoder.java +++ b/core/src/main/java/org/acegisecurity/providers/encoding/PasswordEncoder.java @@ -37,8 +37,8 @@ public interface PasswordEncoder { *

* The encoded password should have previously been generated by {@link * #encodePassword(String, Object)}. This method will encode the - * rawPass (using the optional saltSource), and - * then compared it with the presented encPass. + * rawPass (using the optional salt), and then + * compared it with the presented encPass. *

* *

@@ -49,14 +49,13 @@ public interface PasswordEncoder { * @param encPass a pre-encoded password * @param rawPass a raw password to encode and compare against the * pre-encoded password - * @param salt optionally used by the implementation to 'salt' the - * raw password before encoding. A null value is - * legal. + * @param salt optionally used by the implementation to "salt" the raw + * password before encoding. A null value is legal. * * @return DOCUMENT ME! */ - public boolean isPasswordValid(String encPass, String rawPass, - Object salt) throws DataAccessException; + public boolean isPasswordValid(String encPass, String rawPass, Object salt) + throws DataAccessException; /** *