mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-29 15:22:15 +00:00
Deprecate EncryptionUtils.
This commit is contained in:
parent
c12c43da9e
commit
dbee91002e
@ -36,7 +36,9 @@ import org.springframework.util.Assert;
|
|||||||
*
|
*
|
||||||
* @author Alan Stewart
|
* @author Alan Stewart
|
||||||
* @author Ben Alex
|
* @author Ben Alex
|
||||||
|
* @deprecated Use a dedicated encryption library instead.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public final class EncryptionUtils {
|
public final class EncryptionUtils {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -25,6 +25,7 @@ import org.springframework.security.util.EncryptionUtils.EncryptionException;
|
|||||||
* @author Alan Stewart
|
* @author Alan Stewart
|
||||||
* @author Ben Alex
|
* @author Ben Alex
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("deprecation")
|
||||||
public class EncryptionUtilsTests extends TestCase {
|
public class EncryptionUtilsTests extends TestCase {
|
||||||
private final static String STRING_TO_ENCRYPT = "Alan K Stewart";
|
private final static String STRING_TO_ENCRYPT = "Alan K Stewart";
|
||||||
private final static String ENCRYPTION_KEY = "123456789012345678901234567890";
|
private final static String ENCRYPTION_KEY = "123456789012345678901234567890";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user