Class ObfEnvironmentProvider
java.lang.Object
org.jpos.core.ObfEnvironmentProvider
- All Implemented Interfaces:
EnvironmentProvider
EnvironmentProvider that resolves obf:: references by deobfuscating the encoded value.-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor; no instance state to initialise. -
Method Summary
-
Constructor Details
-
ObfEnvironmentProvider
public ObfEnvironmentProvider()Default constructor; no instance state to initialise.
-
-
Method Details
-
prefix
Description copied from interface:EnvironmentProviderReturns the prefix identifying this provider.- Specified by:
prefixin interfaceEnvironmentProvider- Returns:
- the prefix string (e.g.
"vault","env")
-
get
Description copied from interface:EnvironmentProviderResolves the given configuration key using this provider.- Specified by:
getin interfaceEnvironmentProvider- Parameters:
config- the configuration key to resolve- Returns:
- the resolved value, or null if not found
-