public interface SecretRepository
Modifier and Type | Method and Description |
---|---|
SecretRepository |
getParent()
Returns the parent secret repository
|
String |
getSecret(String alias)
Returns the secret of provided alias name .
|
void |
init(Properties properties,
String id)
Initializes the repository based on provided properties
|
void |
setParent(SecretRepository parent)
Sets the parent secret repository
Secret Repositories are made a chain so that , one can get a secret from other.
|
void init(Properties properties, String id)
properties
- Configuration propertiesid
- Identifier to identify properties related to the corresponding repositoryString getSecret(String alias)
alias
- Alias name for look up a secretvoid setParent(SecretRepository parent)
parent
- Parent secret repositorySecretRepository getParent()
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.