move password encoder tests to proper packages.
rename saltSource param in PasswordEncoder interfce to salt. It was already called salt in subclasses, and is in fact supposed to be the salt, not the source for the salt, although depending on the implementation it may still be treated as the latter.
This commit is contained in:
@@ -13,13 +13,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package net.sf.acegisecurity.providers.dao;
|
||||
package net.sf.acegisecurity.providers.encoding;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
|
||||
import net.sf.acegisecurity.providers.encoding.*;
|
||||
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* TestCase for PlaintextPasswordEncoder.
|
||||
@@ -28,7 +25,7 @@ import net.sf.acegisecurity.providers.encoding.*;
|
||||
* @author colin sampaleanu
|
||||
* @version $Id$
|
||||
*/
|
||||
public class MD5PasswordEncoderTest extends TestCase {
|
||||
public class Md5PasswordEncoderTest extends TestCase {
|
||||
//~ Methods ================================================================
|
||||
|
||||
public void testBasicFunctionality() {
|
||||
@@ -13,13 +13,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package net.sf.acegisecurity.providers.dao;
|
||||
package net.sf.acegisecurity.providers.encoding;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
|
||||
import net.sf.acegisecurity.providers.encoding.*;
|
||||
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* TestCase for PlaintextPasswordEncoder.
|
||||
@@ -13,12 +13,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package net.sf.acegisecurity.providers.dao;
|
||||
package net.sf.acegisecurity.providers.encoding;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
|
||||
import net.sf.acegisecurity.providers.encoding.*;
|
||||
|
||||
|
||||
/**
|
||||
* <p>
|
||||
@@ -28,7 +26,7 @@ import net.sf.acegisecurity.providers.encoding.*;
|
||||
* @author colin sampaleanu
|
||||
* @version $Id$
|
||||
*/
|
||||
public class SHAPasswordEncoderTest extends TestCase {
|
||||
public class ShaPasswordEncoderTest extends TestCase {
|
||||
//~ Methods ================================================================
|
||||
|
||||
public void testBasicFunctionality() {
|
||||
Reference in New Issue
Block a user