Class RsaEncryptionAutoConfiguration
java.lang.Object
org.springframework.cloud.config.server.config.RsaEncryptionAutoConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnProperty(prefix="encrypt.key-store",
value="location")
@ConditionalOnClass(org.springframework.security.crypto.encrypt.RsaSecretEncryptor.class)
@EnableConfigurationProperties
public class RsaEncryptionAutoConfiguration
extends Object
Autoconfiguration for RSA encryption.
- Since:
- 4.0.0
- Author:
- Olga Maciaszek-Sharma
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.cloud.bootstrap.encrypt.KeyPropertiestextEncryptorLocator(org.springframework.cloud.bootstrap.encrypt.KeyProperties key, org.springframework.cloud.bootstrap.encrypt.RsaProperties rsaProperties)
-
Constructor Details
-
RsaEncryptionAutoConfiguration
public RsaEncryptionAutoConfiguration()
-
-
Method Details
-
keyProperties
@Bean @ConditionalOnMissingBean public org.springframework.cloud.bootstrap.encrypt.KeyProperties keyProperties() -
textEncryptorLocator
@Bean @ConditionalOnMissingBean public TextEncryptorLocator textEncryptorLocator(org.springframework.cloud.bootstrap.encrypt.KeyProperties key, org.springframework.cloud.bootstrap.encrypt.RsaProperties rsaProperties)
-