PropertiesUserManager um = createPropertiesUserManager("<file-user-manager file=\"" + USER_FILE_PATH + "\" />");
assertEquals(new File("src/test/resources/users.properties"), um.getFile());
}
public void testMd5PasswordEncryptor() throws Throwable {
PropertiesUserManager um = createPropertiesUserManager("<file-user-manager file=\"" + USER_FILE_PATH + "\" encrypt-passwords=\"md5\" />");
assertTrue(um.getPasswordEncryptor() instanceof Md5PasswordEncryptor);
}