Class EncryptionBootstrapConfiguration
java.lang.Object
org.springframework.cloud.bootstrap.encrypt.EncryptionBootstrapConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnClass(org.springframework.security.crypto.encrypt.TextEncryptor.class)
@EnableConfigurationProperties
public class EncryptionBootstrapConfiguration
extends Object
- Author:
- Dave Syer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classDeprecated.static classA Spring Boot condition for key encryption.protected static classprotected static class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.security.crypto.encrypt.TextEncryptorcreateTextEncryptor(KeyProperties keyProperties, RsaProperties rsaProperties) Deprecated.environmentDecryptApplicationListener(org.springframework.context.ConfigurableApplicationContext context, KeyProperties keyProperties)
-
Constructor Details
-
EncryptionBootstrapConfiguration
public EncryptionBootstrapConfiguration()
-
-
Method Details
-
keyProperties
-
environmentDecryptApplicationListener
@Bean public EnvironmentDecryptApplicationInitializer environmentDecryptApplicationListener(org.springframework.context.ConfigurableApplicationContext context, KeyProperties keyProperties) -
createTextEncryptor
@Deprecated public static org.springframework.security.crypto.encrypt.TextEncryptor createTextEncryptor(KeyProperties keyProperties, RsaProperties rsaProperties) Deprecated.
-