Package de.vinado.boot.secrets
Class DefaultSecretResolver
java.lang.Object
de.vinado.boot.secrets.DefaultSecretResolver
- All Implemented Interfaces:
SecretResolver
The default resolver implementation for loading the content of a
Resource
.- Author:
- Vincent Nadoll
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionloadContent
(String location) Substitutes the given location and loads its secret afterwards.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.vinado.boot.secrets.SecretResolver
loadContent
-
Constructor Details
-
DefaultSecretResolver
public DefaultSecretResolver()
-
-
Method Details
-
loadContent
Substitutes the given location and loads its secret afterwards.- Specified by:
loadContent
in interfaceSecretResolver
- Parameters:
location
- location from which the content is loaded- Returns:
- secret
-