mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
Merged 5.1-MC1 (5.1.0) to HEAD (5.1)
119075 adavis: Merged 5.1.N (5.1.1) to 5.1-MC1 (5.1.0) 117375 gjames: Fixing a compilation error after the merge for AuthenticationTest Merged 5.0.2-CLOUD42 (Cloud ) to 5.1.N (5.1.1) 117260 adavis: Merged 5.0.2-CLOUD (Cloud ) to 5.0.2-CLOUD42 (Cloud ) 114674 gjames: BCRYPT MNT-14892 RA-604, Handling MD4 hashing as default git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@119914 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -486,8 +486,7 @@ public class AuthenticationTest extends TestCase
|
||||
{
|
||||
String hashedPassword = dao.getMD4HashedPassword(userName);
|
||||
assertNotNull(hashedPassword);
|
||||
UserDetails userDetails = (UserDetails) dao.loadUserByUsername(userName);
|
||||
assertEquals(compositePasswordEncoder.encodePassword(password, dao.getSalt(userDetails)), hashedPassword);
|
||||
assertEquals(compositePasswordEncoder.encode("md4",password, null), hashedPassword);
|
||||
}
|
||||
|
||||
public void testCreateAndyUserAndOtherCRUD() throws NoSuchAlgorithmException, UnsupportedEncodingException
|
||||
|
Reference in New Issue
Block a user