|
|
|
|
@ -37,8 +37,8 @@ public interface PasswordEncoder {
@@ -37,8 +37,8 @@ public interface PasswordEncoder {
|
|
|
|
|
* <P> |
|
|
|
|
* The encoded password should have previously been generated by {@link |
|
|
|
|
* #encodePassword(String, Object)}. This method will encode the |
|
|
|
|
* <code>rawPass</code> (using the optional <code>saltSource</code>), and |
|
|
|
|
* then compared it with the presented <code>encPass</code>. |
|
|
|
|
* <code>rawPass</code> (using the optional <code>salt</code>), and then |
|
|
|
|
* compared it with the presented <code>encPass</code>. |
|
|
|
|
* </p> |
|
|
|
|
* |
|
|
|
|
* <p> |
|
|
|
|
@ -49,14 +49,13 @@ public interface PasswordEncoder {
@@ -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 <code>null</code> value is |
|
|
|
|
* legal. |
|
|
|
|
* @param salt optionally used by the implementation to "salt" the raw |
|
|
|
|
* password before encoding. A <code>null</code> 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; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* <p> |
|
|
|
|
|