Class EncryptableSystemEnvironmentPropertySourceWrapper
- java.lang.Object
-
- org.springframework.core.env.PropertySource<T>
-
- All Implemented Interfaces:
EncryptablePropertySource<Map<String,Object>>,org.springframework.boot.origin.OriginLookup<String>
public class EncryptableSystemEnvironmentPropertySourceWrapper extends org.springframework.core.env.SystemEnvironmentPropertySource implements EncryptablePropertySource<Map<String,Object>>
EncryptableSystemEnvironmentPropertySourceWrapper class.
- Version:
- $Id: $Id
- Author:
- Tomas Tulka (@ttulka)
-
-
Constructor Summary
Constructors Constructor Description EncryptableSystemEnvironmentPropertySourceWrapper(org.springframework.core.env.SystemEnvironmentPropertySource delegate, EncryptablePropertyResolver resolver, EncryptablePropertyFilter filter)Constructor for EncryptableSystemEnvironmentPropertySourceWrapper.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.core.env.PropertySource<Map<String,Object>>getDelegate()getDelegate.org.springframework.boot.origin.OrigingetOrigin(String key)ObjectgetProperty(String name)getProperty.-
Methods inherited from class org.springframework.core.env.SystemEnvironmentPropertySource
containsProperty, isSecurityManagerPresent, resolvePropertyName
-
Methods inherited from class org.springframework.core.env.PropertySource
equals, getName, getSource, hashCode, named, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.ulisesbocchio.jasyptspringboot.EncryptablePropertySource
getPrefix, getProperty, isImmutable, refresh
-
-
-
-
Constructor Detail
-
EncryptableSystemEnvironmentPropertySourceWrapper
public EncryptableSystemEnvironmentPropertySourceWrapper(org.springframework.core.env.SystemEnvironmentPropertySource delegate, EncryptablePropertyResolver resolver, EncryptablePropertyFilter filter)Constructor for EncryptableSystemEnvironmentPropertySourceWrapper.
- Parameters:
delegate- aSystemEnvironmentPropertySourceobjectresolver- aEncryptablePropertyResolverobjectfilter- aEncryptablePropertyFilterobject
-
-
Method Detail
-
getProperty
public Object getProperty(String name)
getProperty.
- Specified by:
getPropertyin interfaceEncryptablePropertySource<Map<String,Object>>- Overrides:
getPropertyin classorg.springframework.core.env.SystemEnvironmentPropertySource- Parameters:
name- aStringobject- Returns:
- a
Objectobject
-
getDelegate
public org.springframework.core.env.PropertySource<Map<String,Object>> getDelegate()
getDelegate.
- Specified by:
getDelegatein interfaceEncryptablePropertySource<Map<String,Object>>- Returns:
- a
PropertySourceobject
-
-