Deprecate EncryptionUtils.

This commit is contained in:
Luke Taylor 2010-02-14 23:27:29 +00:00
parent c12c43da9e
commit dbee91002e
2 changed files with 3 additions and 0 deletions

View File

@ -36,7 +36,9 @@ import org.springframework.util.Assert;
*
* @author Alan Stewart
* @author Ben Alex
* @deprecated Use a dedicated encryption library instead.
*/
@Deprecated
public final class EncryptionUtils {
/**

View File

@ -25,6 +25,7 @@ import org.springframework.security.util.EncryptionUtils.EncryptionException;
* @author Alan Stewart
* @author Ben Alex
*/
@SuppressWarnings("deprecation")
public class EncryptionUtilsTests extends TestCase {
private final static String STRING_TO_ENCRYPT = "Alan K Stewart";
private final static String ENCRYPTION_KEY = "123456789012345678901234567890";