Class EncryptablePropertySourceConverter
java.lang.Object
com.ulisesbocchio.jasyptspringboot.EncryptablePropertySourceConverter
EncryptablePropertySourceConverter class.
- Version:
- $Id: $Id
- Author:
- Ulises Bocchio
-
Constructor Summary
ConstructorsConstructorDescriptionEncryptablePropertySourceConverter(InterceptionMode interceptionMode, List<Class<org.springframework.core.env.PropertySource<?>>> skipPropertySourceClasses, EncryptablePropertyResolver propertyResolver, EncryptablePropertyFilter propertyFilter) Constructor for EncryptablePropertySourceConverter. -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.core.env.MutablePropertySourcesconvertMutablePropertySources(InterceptionMode mode, org.springframework.core.env.MutablePropertySources originalPropertySources, EnvCopy envCopy) convertMutablePropertySources.voidconvertPropertySources(org.springframework.core.env.MutablePropertySources propSources) convertPropertySources.static Class<org.springframework.core.env.PropertySource<?>>getPropertiesClass(String className) getPropertiesClass.<T> org.springframework.core.env.PropertySource<T>makeEncryptable(org.springframework.core.env.PropertySource<T> propertySource) makeEncryptable.org.springframework.core.env.MutablePropertySourcesproxyMutablePropertySources(org.springframework.core.env.MutablePropertySources propertySources, EnvCopy envCopy) proxyMutablePropertySources.
-
Constructor Details
-
EncryptablePropertySourceConverter
public EncryptablePropertySourceConverter(InterceptionMode interceptionMode, List<Class<org.springframework.core.env.PropertySource<?>>> skipPropertySourceClasses, EncryptablePropertyResolver propertyResolver, EncryptablePropertyFilter propertyFilter) Constructor for EncryptablePropertySourceConverter.
- Parameters:
interceptionMode- aInterceptionModeobjectskipPropertySourceClasses- aListobjectpropertyResolver- aEncryptablePropertyResolverobjectpropertyFilter- aEncryptablePropertyFilterobject
-
-
Method Details
-
getPropertiesClass
public static Class<org.springframework.core.env.PropertySource<?>> getPropertiesClass(String className) getPropertiesClass.
-
convertPropertySources
public void convertPropertySources(org.springframework.core.env.MutablePropertySources propSources) convertPropertySources.
- Parameters:
propSources- aMutablePropertySourcesobject
-
makeEncryptable
public <T> org.springframework.core.env.PropertySource<T> makeEncryptable(org.springframework.core.env.PropertySource<T> propertySource) makeEncryptable.
- Type Parameters:
T- a T class- Parameters:
propertySource- aPropertySourceobject- Returns:
- a
PropertySourceobject
-
proxyMutablePropertySources
public org.springframework.core.env.MutablePropertySources proxyMutablePropertySources(org.springframework.core.env.MutablePropertySources propertySources, EnvCopy envCopy) proxyMutablePropertySources.
- Parameters:
propertySources- aMutablePropertySourcesobjectenvCopy- aEnvCopyobject- Returns:
- a
MutablePropertySourcesobject
-
convertMutablePropertySources
public org.springframework.core.env.MutablePropertySources convertMutablePropertySources(InterceptionMode mode, org.springframework.core.env.MutablePropertySources originalPropertySources, EnvCopy envCopy) convertMutablePropertySources.
- Parameters:
mode- aInterceptionModeobjectoriginalPropertySources- aMutablePropertySourcesobjectenvCopy- aEnvCopyobject- Returns:
- a
MutablePropertySourcesobject
-