public class StandardEncryptableEnvironment
extends org.springframework.core.env.StandardEnvironment
implements org.springframework.core.env.ConfigurableEnvironment
ConfigurableEnvironment that is useful for
early access of encrypted properties on bootstrap. While not required in most scenarios
could be useful when customizing Spring Boot's init behavior or integrating with certain capabilities that are
configured very early, such as Logging configuration. For a concrete example, this method of enabling encryptable
properties is the only one that works with Spring Properties replacement in logback-spring.xml files, using the
springProperty tag| Modifier and Type | Method and Description |
|---|---|
protected void |
actuallyCustomizePropertySources() |
protected void |
customizePropertySources(org.springframework.core.env.MutablePropertySources propertySources) |
org.springframework.core.env.MutablePropertySources |
getPropertySources() |
acceptsProfiles, addActiveProfile, containsProperty, doGetActiveProfiles, doGetDefaultProfiles, getActiveProfiles, getConversionService, getDefaultProfiles, getProperty, getProperty, getProperty, getProperty, getRequiredProperty, getRequiredProperty, getReservedDefaultProfiles, getSystemEnvironment, getSystemProperties, isProfileActive, merge, resolvePlaceholders, resolveRequiredPlaceholders, setActiveProfiles, setConversionService, setDefaultProfiles, setIgnoreUnresolvableNestedPlaceholders, setPlaceholderPrefix, setPlaceholderSuffix, setRequiredProperties, setValueSeparator, suppressGetenvAccess, toString, validateProfile, validateRequiredPropertiesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddActiveProfile, getSystemEnvironment, getSystemProperties, merge, setActiveProfiles, setDefaultProfilesacceptsProfiles, getActiveProfiles, getDefaultProfilespublic StandardEncryptableEnvironment()
public StandardEncryptableEnvironment(InterceptionMode interceptionMode)
public StandardEncryptableEnvironment(InterceptionMode interceptionMode, org.jasypt.encryption.StringEncryptor encryptor)
public StandardEncryptableEnvironment(org.jasypt.encryption.StringEncryptor encryptor)
public StandardEncryptableEnvironment(InterceptionMode interceptionMode, org.jasypt.encryption.StringEncryptor encryptor, EncryptablePropertyDetector detector)
public StandardEncryptableEnvironment(EncryptablePropertyResolver resolver)
public StandardEncryptableEnvironment(EncryptablePropertyFilter filter)
public StandardEncryptableEnvironment(InterceptionMode interceptionMode, EncryptablePropertyFilter filter)
public StandardEncryptableEnvironment(InterceptionMode interceptionMode, org.jasypt.encryption.StringEncryptor encryptor, EncryptablePropertyFilter filter)
public StandardEncryptableEnvironment(org.jasypt.encryption.StringEncryptor encryptor,
EncryptablePropertyFilter filter)
public StandardEncryptableEnvironment(InterceptionMode interceptionMode, org.jasypt.encryption.StringEncryptor encryptor, EncryptablePropertyDetector detector, EncryptablePropertyFilter filter)
public StandardEncryptableEnvironment(EncryptablePropertyResolver resolver, EncryptablePropertyFilter filter)
public StandardEncryptableEnvironment(InterceptionMode interceptionMode, EncryptablePropertyResolver resolver, EncryptablePropertyFilter filter)
public StandardEncryptableEnvironment(InterceptionMode interceptionMode, EncryptablePropertyDetector detector, EncryptablePropertyFilter filter)
protected void customizePropertySources(org.springframework.core.env.MutablePropertySources propertySources)
customizePropertySources in class org.springframework.core.env.StandardEnvironmentprotected void actuallyCustomizePropertySources()
public org.springframework.core.env.MutablePropertySources getPropertySources()
getPropertySources in interface org.springframework.core.env.ConfigurableEnvironmentgetPropertySources in class org.springframework.core.env.AbstractEnvironmentCopyright © 2018. All rights reserved.