@Configuration(proxyBeanMethods=false) @EnableConfigurationProperties @Import(value=org.springframework.cloud.config.server.config.SingleTextEncryptorConfiguration.class) public class EncryptionAutoConfiguration extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
EncryptionAutoConfiguration.KeyStoreConfiguration |
| Constructor and Description |
|---|
EncryptionAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.crypto.encrypt.TextEncryptor |
defaultTextEncryptor(TextEncryptorLocator locator,
org.springframework.cloud.bootstrap.encrypt.KeyProperties key) |
EnvironmentEncryptor |
environmentEncryptor(TextEncryptorLocator locator,
org.springframework.security.crypto.encrypt.TextEncryptor encryptor) |
org.springframework.cloud.bootstrap.encrypt.KeyProperties |
keyProperties() |
@Bean @ConditionalOnMissingBean public org.springframework.cloud.bootstrap.encrypt.KeyProperties keyProperties()
@Bean
@ConditionalOnMissingBean
@ConditionalOnProperty(value="spring.cloud.config.server.encrypt.enabled",
matchIfMissing=true)
@ConditionalOnBean(value=TextEncryptorLocator.class)
public EnvironmentEncryptor environmentEncryptor(@Autowired(required=false)
TextEncryptorLocator locator,
org.springframework.security.crypto.encrypt.TextEncryptor encryptor)
@Bean
@ConditionalOnMissingBean(value=org.springframework.security.crypto.encrypt.TextEncryptor.class)
public org.springframework.security.crypto.encrypt.TextEncryptor defaultTextEncryptor(@Autowired(required=false)
TextEncryptorLocator locator,
org.springframework.cloud.bootstrap.encrypt.KeyProperties key)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.