@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=org.springframework.security.crypto.encrypt.TextEncryptor.class) @EnableConfigurationProperties public class EncryptionBootstrapConfiguration extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
EncryptionBootstrapConfiguration.FailsafeTextEncryptor
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.
|
static class |
EncryptionBootstrapConfiguration.KeyCondition
A Spring Boot condition for key encryption.
|
protected static class |
EncryptionBootstrapConfiguration.RsaEncryptionConfiguration |
protected static class |
EncryptionBootstrapConfiguration.VanillaEncryptionConfiguration |
| Constructor and Description |
|---|
EncryptionBootstrapConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
EnvironmentDecryptApplicationInitializer |
environmentDecryptApplicationListener(org.springframework.context.ConfigurableApplicationContext context,
KeyProperties keyProperties) |
KeyProperties |
keyProperties() |
@Bean @ConditionalOnMissingBean public KeyProperties keyProperties()
@Bean public EnvironmentDecryptApplicationInitializer environmentDecryptApplicationListener(org.springframework.context.ConfigurableApplicationContext context, KeyProperties keyProperties)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.