Class CipherEnvironmentEncryptor
java.lang.Object
org.springframework.cloud.config.server.encryption.CipherEnvironmentEncryptor
- All Implemented Interfaces:
EnvironmentEncryptor
EnvironmentEncryptor that can decrypt property values prefixed with {cipher} marker.
- Author:
- Dave Syer, Bartosz Wojtkiewicz, Rafal Zukowski
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.cloud.config.environment.Environmentdecrypt(org.springframework.cloud.config.environment.Environment environment) voidsetPrefixInvalidProperties(boolean prefixInvalidProperties)
-
Constructor Details
-
CipherEnvironmentEncryptor
-
-
Method Details
-
decrypt
public org.springframework.cloud.config.environment.Environment decrypt(org.springframework.cloud.config.environment.Environment environment) - Specified by:
decryptin interfaceEnvironmentEncryptor
-
setPrefixInvalidProperties
public void setPrefixInvalidProperties(boolean prefixInvalidProperties)
-