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 Constructor Description FailsafeTextEncryptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdecrypt(String encryptedText)Stringencrypt(String text)
-