Class TextEncryptorUtils.FailsafeTextEncryptor
java.lang.Object
org.springframework.cloud.bootstrap.encrypt.TextEncryptorUtils.FailsafeTextEncryptor
- All Implemented Interfaces:
org.springframework.security.crypto.encrypt.TextEncryptor
- Direct Known Subclasses:
EncryptionBootstrapConfiguration.FailsafeTextEncryptor,TextEncryptorConfigBootstrapper.FailsafeTextEncryptor
- Enclosing class:
- TextEncryptorUtils
public static class TextEncryptorUtils.FailsafeTextEncryptor
extends Object
implements org.springframework.security.crypto.encrypt.TextEncryptor
TextEncryptor that just fails, so that users don't get a false sense of security
adding ciphers to config files and not getting them decrypted.
- Author:
- Dave Syer
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FailsafeTextEncryptor
public FailsafeTextEncryptor()
-
-
Method Details
-
encrypt
- Specified by:
encryptin interfaceorg.springframework.security.crypto.encrypt.TextEncryptor
-
decrypt
- Specified by:
decryptin interfaceorg.springframework.security.crypto.encrypt.TextEncryptor
-