Browse Source

Deprecate EncryptionUtils.

Luke Taylor 15 years ago
parent
commit
dbee91002e

+ 2 - 0
core/src/main/java/org/springframework/security/util/EncryptionUtils.java

@@ -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 {
 
     /**

+ 1 - 0
core/src/test/java/org/springframework/security/util/EncryptionUtilsTests.java

@@ -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";