mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 15:33:09 +00:00
Tidy up, fix licensing again
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
/**
|
||||||
|
* The contents of this file are subject to the license and copyright
|
||||||
|
* detailed in the LICENSE and NOTICE files at the root of the source
|
||||||
|
* tree and available online at
|
||||||
|
*
|
||||||
|
* http://www.dspace.org/license/
|
||||||
|
*/
|
||||||
|
|
||||||
package org.dspace.eperson;
|
package org.dspace.eperson;
|
||||||
|
|
||||||
@@ -697,6 +704,8 @@ public class EPersonTest
|
|||||||
assertEquals("should have upgraded algorithm",
|
assertEquals("should have upgraded algorithm",
|
||||||
PasswordHash.getDefaultAlgorithm(),
|
PasswordHash.getDefaultAlgorithm(),
|
||||||
instance.getPasswordHash().getAlgorithm());
|
instance.getPasswordHash().getAlgorithm());
|
||||||
|
assertTrue("upgraded hash should still match",
|
||||||
|
instance.checkPassword(attempt));
|
||||||
|
|
||||||
// TODO test a salted multiround hash
|
// TODO test a salted multiround hash
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user