public class DefaultLazyPropertyFilter extends Object implements EncryptablePropertyFilter
| Constructor and Description |
|---|
DefaultLazyPropertyFilter(org.springframework.core.env.ConfigurableEnvironment environment) |
DefaultLazyPropertyFilter(org.springframework.core.env.ConfigurableEnvironment e,
String customFilterBeanName,
boolean isCustom,
org.springframework.beans.factory.BeanFactory bf) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldInclude(org.springframework.core.env.PropertySource<?> source,
String name)
Given a property source and a property name, returns true if the property should be analyzed for decryption.
|
public DefaultLazyPropertyFilter(org.springframework.core.env.ConfigurableEnvironment e,
String customFilterBeanName,
boolean isCustom,
org.springframework.beans.factory.BeanFactory bf)
public DefaultLazyPropertyFilter(org.springframework.core.env.ConfigurableEnvironment environment)
public boolean shouldInclude(org.springframework.core.env.PropertySource<?> source,
String name)
EncryptablePropertyFiltershouldInclude in interface EncryptablePropertyFiltersource - The property source, useful to enabled/disable encryption for specific property sources.name - The actual property being requested, useful to enable/disable encryption for specific properties/patterns.Copyright © 2020. All rights reserved.