Tidy up, fix licensing again

This commit is contained in:
Mark H. Wood
2012-08-03 13:59:00 -04:00
parent f6d6db4343
commit 81db2cb79d

View File

@@ -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;
@@ -697,6 +704,8 @@ public class EPersonTest
assertEquals("should have upgraded algorithm",
PasswordHash.getDefaultAlgorithm(),
instance.getPasswordHash().getAlgorithm());
assertTrue("upgraded hash should still match",
instance.checkPassword(attempt));
// TODO test a salted multiround hash
}