@Configuration @EnableConfigurationProperties(value=org.springframework.cloud.bootstrap.encrypt.KeyProperties.class) public class EncryptionAutoConfiguration extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
EncryptionAutoConfiguration.DefaultTextEncryptorConfiguration |
protected static class |
EncryptionAutoConfiguration.KeyStoreConfiguration |
| Constructor and Description |
|---|
EncryptionAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
EnvironmentEncryptor |
environmentEncryptor(TextEncryptorLocator textEncryptorLocator) |
@Bean
@ConditionalOnMissingBean
@ConditionalOnProperty(value="spring.cloud.config.server.encrypt.enabled",
matchIfMissing=true)
public EnvironmentEncryptor environmentEncryptor(TextEncryptorLocator textEncryptorLocator)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.