Class DefaultPropertySourceChain
- java.lang.Object
-
- org.springframework.core.env.PropertySource<T>
-
- org.springframework.core.env.EnumerablePropertySource<Object>
-
- com.cyberark.conjur.springboot.service.PropertyProcessorChain
-
- com.cyberark.conjur.springboot.service.DefaultPropertySourceChain
-
public class DefaultPropertySourceChain extends PropertyProcessorChain
This class resolves the secret value at application load time from the conjur vault.
-
-
Constructor Summary
Constructors Constructor Description DefaultPropertySourceChain(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetProperty(String name)Method which resolves @value annotation queries and return result in the form of byte array.String[]getPropertyNames()voidsetNextChain(PropertyProcessorChain nextChain)
-
-
-
Constructor Detail
-
DefaultPropertySourceChain
public DefaultPropertySourceChain(String name)
-
-
Method Detail
-
setNextChain
public void setNextChain(PropertyProcessorChain nextChain)
- Overrides:
setNextChainin classPropertyProcessorChain
-
getPropertyNames
public String[] getPropertyNames()
- Specified by:
getPropertyNamesin classorg.springframework.core.env.EnumerablePropertySource<Object>
-
getProperty
public Object getProperty(String name)
Method which resolves @value annotation queries and return result in the form of byte array.- Overrides:
getPropertyin classPropertyProcessorChain
-
-