Package de.vinado.boot.secrets
Interface SecretResolver
- All Known Implementing Classes:
DefaultSecretResolver
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An interface for loading the content of a file.
- Author:
- Vincent Nadoll
-
Method Summary
Modifier and TypeMethodDescriptionloadContent
(String location) Loads the content from the given location.loadContent
(URI location) Loads the content from the given URI.
-
Method Details
-
loadContent
Loads the content from the given location.- Parameters:
location
- location from which the content is loaded- Returns:
- secret
-
loadContent
Loads the content from the given URI.- Parameters:
location
- location from which the content is loaded- Returns:
- secret
-